Index: cc/trees/layer_tree_host_common.cc |
diff --git a/cc/trees/layer_tree_host_common.cc b/cc/trees/layer_tree_host_common.cc |
index ddee3930165c6bdf6cfc91be44d68bffd368ad29..587a28566a70d83cf05d84629b1accde9f2997bd 100644 |
--- a/cc/trees/layer_tree_host_common.cc |
+++ b/cc/trees/layer_tree_host_common.cc |
@@ -2324,8 +2324,12 @@ LayerImpl* LayerTreeHostCommon::FindLayerThatIsHitByPoint( |
const LayerImplList& render_surface_layer_list) { |
LayerImpl* found_layer = NULL; |
- 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); |
it != end; |