Index: cc/trees/layer_tree_host_impl.cc |
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc |
index e8155dd92037857b1194fa6918776d2c8fae88e8..d090ddc3d3da2ba116c9acfa0abfd5edffbec692 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -762,9 +762,12 @@ DrawSwapReadbackResult::DrawResult LayerTreeHostImpl::CalculateRenderPasses( |
&frame->non_occluding_screen_space_rects); |
} |
- // Add quads to the Render passes in front-to-back order to allow for testing |
+ // Add quads to the Render passes in FrontToBack order to allow for testing |
// occlusion and performing culling during the tree walk. |
- typedef LayerIterator<LayerImpl> LayerIteratorType; |
+ typedef LayerIterator<LayerImpl, |
+ LayerImplList, |
+ RenderSurfaceImpl, |
+ LayerIteratorActions::FrontToBack> LayerIteratorType; |
// Typically when we are missing a texture and use a checkerboard quad, we |
// still draw the frame. However when the layer being checkerboarded is moving |