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

Unified Diff: cc/trees/layer_tree_host_common_unittest.cc

Issue 2873593002: Force use of and cache render surface. (Closed)
Patch Set: Fix for patch 1. 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 6817657d07dd8ec3c4685866c9914aa6aabd1235..e0c50f5c238626bda2a90a532bd2b2695c6c4762 100644
--- a/cc/trees/layer_tree_host_common_unittest.cc
+++ b/cc/trees/layer_tree_host_common_unittest.cc
@@ -9763,7 +9763,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);
@@ -9812,7 +9812,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