Index: cc/debug/debug_rect_history.cc |
diff --git a/cc/debug/debug_rect_history.cc b/cc/debug/debug_rect_history.cc |
index 42418238deaf414047370b773755bcfa625177ba..2f01f4a84365f1f9d4c14521ffd7cbd57b5da693 100644 |
--- a/cc/debug/debug_rect_history.cc |
+++ b/cc/debug/debug_rect_history.cc |
@@ -238,7 +238,10 @@ void DebugRectHistory::SaveNonFastScrollableRectsCallback(LayerImpl* layer) { |
void DebugRectHistory::SaveLayerAnimationBoundsRects( |
const LayerImplList& render_surface_layer_list) { |
- typedef LayerIterator<LayerImpl> LayerIteratorType; |
+ typedef LayerIterator<LayerImpl, |
+ LayerImplList, |
+ RenderSurfaceImpl, |
+ LayerIteratorActions::FrontToBack> LayerIteratorType; |
LayerIteratorType end = LayerIteratorType::End(&render_surface_layer_list); |
for (LayerIteratorType it = |
LayerIteratorType::Begin(&render_surface_layer_list); |