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

Unified Diff: cc/trees/layer_tree_host_pixeltest_filters.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_pixeltest_filters.cc
diff --git a/cc/trees/layer_tree_host_pixeltest_filters.cc b/cc/trees/layer_tree_host_pixeltest_filters.cc
index 1f5f2b7361affe2ae9c9d0fa43b58a89e85a2a03..509a8e88ea4aeb904dad0902ebeeb2b7736a052c 100644
--- a/cc/trees/layer_tree_host_pixeltest_filters.cc
+++ b/cc/trees/layer_tree_host_pixeltest_filters.cc
@@ -538,7 +538,7 @@ class ImageScaledRenderSurface : public LayerTreeHostFiltersPixelTest {
gfx::Transform render_surface_transform;
render_surface_transform.Scale(1.5f, 1.5f);
render_surface_layer->SetTransform(render_surface_transform);
- render_surface_layer->SetForceRenderSurfaceForTesting(true);
+ render_surface_layer->SetForceRenderSurface(true);
background->AddChild(render_surface_layer);

Powered by Google App Engine
This is Rietveld 408576698