Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1040)

Unified Diff: cc/delegated_renderer_layer_impl_unittest.cc

Issue 11704003: cc: Move more functionality from host to LayerTreeImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/layer_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « no previous file | cc/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698