Clean up CollectLayers code
authorrobertphillips <robertphillips@google.com>
Wed, 12 Nov 2014 15:25:02 +0000 (07:25 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 12 Nov 2014 15:25:02 +0000 (07:25 -0800)
commit74576eba1440c092025d6557e08da50678599d4e
tree300956c00016dab541dfaee6cb0722db3c707c25
parent4e8e3421aa919a82eb1dd287fecbd079f5a320b4
Clean up CollectLayers code

Now that CollectLayers directly uses FillBounds we can:

skip the explicit intersection with the clipBounds after an adjustAndMap call

skip the storage and use of the clipBounds in SaveLayerInfo

Review URL: https://codereview.chromium.org/719793002
src/core/SkRecordDraw.cpp