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

Unified Diff: cc/output/bsp_tree_perftest.cc

Issue 2661523003: cc: Merge LayerTree into the LayerTreeHost. (Closed)
Patch Set: auto Created 3 years, 11 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 | « cc/layers/ui_resource_layer.cc ('k') | cc/test/fake_layer_tree_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/bsp_tree_perftest.cc
diff --git a/cc/output/bsp_tree_perftest.cc b/cc/output/bsp_tree_perftest.cc
index 2413058e25f918f77b4a5bce073684078c5dd45f..a6f2ab677c2d3f0f7a4ae2ff4234778d008d6aa1 100644
--- a/cc/output/bsp_tree_perftest.cc
+++ b/cc/output/bsp_tree_perftest.cc
@@ -44,11 +44,11 @@ class BspTreePerfTest : public LayerTreeTest {
void SetupTree() override {
gfx::Size viewport = gfx::Size(720, 1038);
- layer_tree()->SetViewportSize(viewport);
+ layer_tree_host()->SetViewportSize(viewport);
scoped_refptr<Layer> root =
ParseTreeFromJson(json_, &content_layer_client_);
ASSERT_TRUE(root.get());
- layer_tree()->SetRootLayer(root);
+ layer_tree_host()->SetRootLayer(root);
content_layer_client_.set_bounds(viewport);
}
« no previous file with comments | « cc/layers/ui_resource_layer.cc ('k') | cc/test/fake_layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698