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

Unified Diff: cc/trees/layer_tree_host_unittest_occlusion.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
« no previous file with comments | « cc/trees/layer_tree_host_unittest_copyrequest.cc ('k') | cc/trees/layer_tree_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_unittest_occlusion.cc
diff --git a/cc/trees/layer_tree_host_unittest_occlusion.cc b/cc/trees/layer_tree_host_unittest_occlusion.cc
index 2550e2abe6504085f13daec0f6f7a19868cb7bc7..eed7a0b263311a1317ed87b08d2c5cffd96320fc 100644
--- a/cc/trees/layer_tree_host_unittest_occlusion.cc
+++ b/cc/trees/layer_tree_host_unittest_occlusion.cc
@@ -87,7 +87,7 @@ class LayerTreeHostOcclusionTestDrawPropertiesOnSurface
child_->SetBounds(gfx::Size(1, 1));
child_->SetPosition(gfx::PointF(10.f, 5.5f));
child_->SetIsDrawable(true);
- child_->SetForceRenderSurface(true);
+ child_->SetForceRenderSurfaceForTesting(true);
root->AddChild(child_);
scoped_refptr<Layer> child2 = Layer::Create();
@@ -283,7 +283,7 @@ class LayerTreeHostOcclusionTestDrawPropertiesInsideReplica
child_->SetBounds(gfx::Size(1, 1));
child_->SetPosition(gfx::PointF(10.f, 5.5f));
child_->SetIsDrawable(true);
- child_->SetForceRenderSurface(true);
+ child_->SetForceRenderSurfaceForTesting(true);
root->AddChild(child_);
scoped_refptr<Layer> replica = Layer::Create();
« no previous file with comments | « cc/trees/layer_tree_host_unittest_copyrequest.cc ('k') | cc/trees/layer_tree_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698