summaryrefslogtreecommitdiffstats
path: root/cc/debug/debug_rect_history.cc
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-26 22:31:47 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-26 22:31:47 +0000
commitc4584c6828619a02d1d93f6af329b0908128e432 (patch)
treea8d9d5da92f1b2db584c3651e91c95cb2bc632c4 /cc/debug/debug_rect_history.cc
parent5ea19bfec044ed648b61c5bf8e7540372b5544e1 (diff)
downloadchromium_src-c4584c6828619a02d1d93f6af329b0908128e432.zip
chromium_src-c4584c6828619a02d1d93f6af329b0908128e432.tar.gz
chromium_src-c4584c6828619a02d1d93f6af329b0908128e432.tar.bz2
Revert 253606 "Revert 251238 "cc: Clean up iterator template to ..."
> Revert 251238 "cc: Clean up iterator template to only take 1 par..." > > Speculative revert to see if this affects memory stomping behaviours. > > > cc: Clean up iterator template to only take 1 parameter. > > > > LayerIterator takes 4 parameters. One is the FrontToBack ordering > > but that is now the only option. The other 3 are for the type of layers, > > render surfaces, and the render surface layer list. The latter two are > > now already available as typedefs off of Layer and LayerImpl, so we > > only need Layer/LayerImpl in the template arguments. > > > > R=enne > > BUG=YAK > > > > Review URL: https://codereview.chromium.org/156603005 > > TBR=danakj@chromium.org > > Review URL: https://codereview.chromium.org/181783004 TBR=danakj@chromium.org Review URL: https://codereview.chromium.org/182343002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253610 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/debug/debug_rect_history.cc')
-rw-r--r--cc/debug/debug_rect_history.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/cc/debug/debug_rect_history.cc b/cc/debug/debug_rect_history.cc
index 2f01f4a..4241823 100644
--- a/cc/debug/debug_rect_history.cc
+++ b/cc/debug/debug_rect_history.cc
@@ -238,10 +238,7 @@ void DebugRectHistory::SaveNonFastScrollableRectsCallback(LayerImpl* layer) {
void DebugRectHistory::SaveLayerAnimationBoundsRects(
const LayerImplList& render_surface_layer_list) {
- typedef LayerIterator<LayerImpl,
- LayerImplList,
- RenderSurfaceImpl,
- LayerIteratorActions::FrontToBack> LayerIteratorType;
+ typedef LayerIterator<LayerImpl> LayerIteratorType;
LayerIteratorType end = LayerIteratorType::End(&render_surface_layer_list);
for (LayerIteratorType it =
LayerIteratorType::Begin(&render_surface_layer_list);