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-28 16:44:51 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-28 16:44:51 +0000
commitba1b33ee68f69e1f40eac31dc734b6fa473ba75a (patch)
tree79a2fd529a05652f7dbfbd6a9a3ec13563140dbc /cc/debug/debug_rect_history.cc
parent728d7d35095332ca7633136279c27caa0a3ffd4a (diff)
downloadchromium_src-ba1b33ee68f69e1f40eac31dc734b6fa473ba75a.zip
chromium_src-ba1b33ee68f69e1f40eac31dc734b6fa473ba75a.tar.gz
chromium_src-ba1b33ee68f69e1f40eac31dc734b6fa473ba75a.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@chromium.org, enne BUG=YAK Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251238 Review URL: https://codereview.chromium.org/156603005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254156 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);