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

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: 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
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_));

Powered by Google App Engine
This is Rietveld 408576698