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

Unified Diff: cc/trees/layer_tree_host_common_unittest.cc

Issue 2873593002: Force use of and cache render surface. (Closed)
Patch Set: Created 3 years, 7 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_common_unittest.cc
diff --git a/cc/trees/layer_tree_host_common_unittest.cc b/cc/trees/layer_tree_host_common_unittest.cc
index 873c9265b9059c8f71f9b09fe1acbdb9a9355e35..64b6f21cc7d92a156fd3ea6110426950f1da1fb5 100644
--- a/cc/trees/layer_tree_host_common_unittest.cc
+++ b/cc/trees/layer_tree_host_common_unittest.cc
@@ -10575,7 +10575,7 @@ TEST_F(LayerTreeHostCommonTest, OpacityAnimationsTrackingTest) {
host()->SetElementIdsForTesting();
root->SetBounds(gfx::Size(100, 100));
- root->SetForceRenderSurfaceForTesting(true);
+ root->SetForceRenderSurface(true);
animated->SetBounds(gfx::Size(20, 20));
animated->SetOpacity(0.f);
@@ -10624,7 +10624,7 @@ TEST_F(LayerTreeHostCommonTest, TransformAnimationsTrackingTest) {
host()->SetElementIdsForTesting();
root->SetBounds(gfx::Size(100, 100));
- root->SetForceRenderSurfaceForTesting(true);
+ root->SetForceRenderSurface(true);
animated->SetBounds(gfx::Size(20, 20));
scoped_refptr<AnimationPlayer> player =

Powered by Google App Engine
This is Rietveld 408576698