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

Unified Diff: cc/trees/layer_tree_host_common_unittest.cc

Issue 2873593002: Force use of and cache render surface. (Closed)
Patch Set: Calculate damage of |force_render_surface|. 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 a26ee7f4559f8ea6d2c656289610dafc390d88fb..9a54773409864c120ffd1eb3fdc92be3e3396485 100644
--- a/cc/trees/layer_tree_host_common_unittest.cc
+++ b/cc/trees/layer_tree_host_common_unittest.cc
@@ -9875,7 +9875,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);
@@ -9924,7 +9924,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