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

Unified Diff: cc/trees/layer_tree_host_unittest.cc

Issue 1912893002: cc : Stop pushing properties not used by LayerImpl to LayerImpl. (2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
Index: cc/trees/layer_tree_host_unittest.cc
diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc
index a6facc6b8484cdc072c06e7cbd0156b81c0ac8c5..9f6bf8083271c33f244c8909a8b6c1967a0be64f 100644
--- a/cc/trees/layer_tree_host_unittest.cc
+++ b/cc/trees/layer_tree_host_unittest.cc
@@ -695,7 +695,7 @@ class LayerTreeHostTestPropertyTreesChangedSync : public LayerTreeHostTest {
scoped_refptr<Layer> root = Layer::Create();
scoped_refptr<Layer> child = Layer::Create();
// This is to force the child to create a transform and effect node.
- child->SetForceRenderSurface(true);
+ child->SetForceRenderSurfaceForTesting(true);
root->AddChild(std::move(child));
layer_tree_host()->SetRootLayer(root);
LayerTreeHostTest::SetupTree();
@@ -1358,7 +1358,7 @@ class LayerTreeHostTestUndrawnLayersDamageLater : public LayerTreeHostTest {
case 3:
// Test owning the surface.
parent_layer_->SetOpacity(0.5f);
- parent_layer_->SetForceRenderSurface(true);
+ parent_layer_->SetForceRenderSurfaceForTesting(true);
break;
case 4:
EndTest();
@@ -2344,7 +2344,7 @@ class LayerTreeHostTestResourcelessSoftwareDraw : public LayerTreeHostTest {
parent_layer_ = FakePictureLayer::Create(&client_);
parent_layer_->SetIsDrawable(true);
parent_layer_->SetBounds(gfx::Size(50, 50));
- parent_layer_->SetForceRenderSurface(true);
+ parent_layer_->SetForceRenderSurfaceForTesting(true);
child_layer_ = FakePictureLayer::Create(&client_);
child_layer_->SetIsDrawable(true);

Powered by Google App Engine
This is Rietveld 408576698