Index: cc/delegated_renderer_layer_impl_unittest.cc |
diff --git a/cc/delegated_renderer_layer_impl_unittest.cc b/cc/delegated_renderer_layer_impl_unittest.cc |
index a125d8626cc8bdd5d5a080b2b80e8f4d36e37a5e..6c0b1683a025e44aab1a0dba0a4cc6c2d0f58b36 100644 |
--- a/cc/delegated_renderer_layer_impl_unittest.cc |
+++ b/cc/delegated_renderer_layer_impl_unittest.cc |
@@ -6,6 +6,7 @@ |
#include "cc/append_quads_data.h" |
#include "cc/layer_tree_host_impl.h" |
+#include "cc/layer_tree_impl.h" |
#include "cc/quad_sink.h" |
#include "cc/render_pass_draw_quad.h" |
#include "cc/scoped_ptr_vector.h" |
@@ -106,7 +107,7 @@ public: |
// Get the RenderPass generated by layerBefore to come before the delegated RenderPasses. |
rootLayer->addChild(layerBefore.Pass()); |
- m_hostImpl->setRootLayer(rootLayer.Pass()); |
+ m_hostImpl->activeTree()->SetRootLayer(rootLayer.Pass()); |
} |
protected: |
@@ -422,7 +423,7 @@ public: |
rootLayer->addChild(delegatedRendererLayer.PassAs<LayerImpl>()); |
- m_hostImpl->setRootLayer(rootLayer.Pass()); |
+ m_hostImpl->activeTree()->SetRootLayer(rootLayer.Pass()); |
} |
protected: |