Index: cc/trees/layer_tree_impl.cc |
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc |
index 26c81c5edc90ebac1fc9ef504b309e7a29114364..14b03aecb57996f72a3ff2ca23233163e7f5c303 100644 |
--- a/cc/trees/layer_tree_impl.cc |
+++ b/cc/trees/layer_tree_impl.cc |
@@ -478,10 +478,7 @@ void LayerTreeImpl::UpdateDrawProperties() { |
// LayerIterator is used here instead of CallFunctionForSubtree to only |
// UpdateTilePriorities on layers that will be visible (and thus have valid |
// draw properties) and not because any ordering is required. |
- 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_); |
@@ -735,10 +732,7 @@ scoped_ptr<base::Value> LayerTreeImpl::AsValue() const { |
state->Set("root_layer", root_layer_->AsValue().release()); |
scoped_ptr<base::ListValue> render_surface_layer_list(new base::ListValue()); |
- 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_); it != end; ++it) { |