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

Unified Diff: cc/layers/picture_layer_unittest.cc

Issue 2846653002: cc : Stop pushing layers from hidden subtrees at commit
Patch Set: rebase Created 3 years, 6 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_unittest.cc ('k') | cc/trees/draw_property_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer_unittest.cc
diff --git a/cc/layers/picture_layer_unittest.cc b/cc/layers/picture_layer_unittest.cc
index f976ab9f206ee1288f330d8b082ab700cce759c2..1f90d5a580c76443dbd06ccc9fb3ca7a49c27afd 100644
--- a/cc/layers/picture_layer_unittest.cc
+++ b/cc/layers/picture_layer_unittest.cc
@@ -409,7 +409,7 @@ TEST(PictureLayerTest, ChangingHostsWithCollidingFrames) {
root->AddChild(layer);
// Make the layer not update.
- layer->SetHideLayerAndSubtree(true);
+ layer->SetOpacity(0.f);
EXPECT_EQ(gfx::Size(500, 500),
layer->GetRecordingSourceForTesting()->GetSize());
« no previous file with comments | « cc/layers/layer_unittest.cc ('k') | cc/trees/draw_property_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698