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-14 02:54:00 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-14 02:54:00 +0000
commitb573e4e0e73946d1e3ee52825d80eef36b180db4 (patch)
treee94fe92bd01e25cbc72bd78d07dc448218324ccc /cc/debug/debug_rect_history.cc
parentbf7b1fecd55aaada4ec823421d72cf7208a5b832 (diff)
downloadchromium_src-b573e4e0e73946d1e3ee52825d80eef36b180db4.zip
chromium_src-b573e4e0e73946d1e3ee52825d80eef36b180db4.tar.gz
chromium_src-b573e4e0e73946d1e3ee52825d80eef36b180db4.tar.bz2
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 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251238 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);