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

Unified Diff: cc/layers/picture_layer_impl_unittest.cc

Issue 1544103002: Determine a layer's IsAffectedByPageScale property without using Layer Tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moving in_subtree_of_page_scale_layer assignment from BuildPropertyTreesInternal to AddTransformNod… Created 5 years 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/picture_image_layer_impl_unittest.cc ('k') | cc/trees/property_tree_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer_impl_unittest.cc
diff --git a/cc/layers/picture_layer_impl_unittest.cc b/cc/layers/picture_layer_impl_unittest.cc
index badd37fcca2ec172c6edd862460377e08d91080e..10c95b406f1a3df05e30c508dea4e14707320641 100644
--- a/cc/layers/picture_layer_impl_unittest.cc
+++ b/cc/layers/picture_layer_impl_unittest.cc
@@ -264,6 +264,9 @@ class PictureLayerImplTest : public testing::Test {
pending_root->AddChild(std::move(pending_layer));
pending_tree->SetRootLayer(std::move(pending_root));
+ pending_tree->SetViewportLayersFromIds(
+ Layer::INVALID_ID, pending_tree->root_layer()->id(), Layer::INVALID_ID,
+ Layer::INVALID_ID);
pending_layer_ = static_cast<FakePictureLayerImpl*>(
host_impl_.pending_tree()->LayerById(id_));
« no previous file with comments | « cc/layers/picture_image_layer_impl_unittest.cc ('k') | cc/trees/property_tree_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698