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

Unified Diff: cc/layers/layer_position_constraint_unittest.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/layer_list_iterator_unittest.cc ('k') | cc/layers/layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_position_constraint_unittest.cc
diff --git a/cc/layers/layer_position_constraint_unittest.cc b/cc/layers/layer_position_constraint_unittest.cc
index fb0b80586e0e67666ae231d77b6caf477dc2b392..4451b0ac44e08e2fd299220840c4d84cc6fe27bb 100644
--- a/cc/layers/layer_position_constraint_unittest.cc
+++ b/cc/layers/layer_position_constraint_unittest.cc
@@ -134,17 +134,17 @@ class LayerPositionConstraintTest : public testing::Test {
root_->AddChild(inner_viewport_container_layer_);
layer_tree_host_->SetRootLayer(root_);
- layer_tree_host_->GetLayerTree()->RegisterViewportLayers(
- nullptr, root_, scroll_layer_, child_);
+ layer_tree_host_->RegisterViewportLayers(nullptr, root_, scroll_layer_,
+ child_);
}
void CommitAndUpdateImplPointers() {
LayerTreeHostCommon::CalcDrawPropsMainInputsForTesting inputs(
root_.get(), root_->bounds());
inputs.inner_viewport_scroll_layer =
- layer_tree_host_->GetLayerTree()->inner_viewport_scroll_layer();
+ layer_tree_host_->inner_viewport_scroll_layer();
inputs.outer_viewport_scroll_layer =
- layer_tree_host_->GetLayerTree()->outer_viewport_scroll_layer();
+ layer_tree_host_->outer_viewport_scroll_layer();
LayerTreeHostCommon::CalculateDrawPropertiesForTesting(&inputs);
// Since scroll deltas aren't sent back to the main thread in this test
« no previous file with comments | « cc/layers/layer_list_iterator_unittest.cc ('k') | cc/layers/layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698