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

Unified Diff: cc/trees/layer_tree_host_pixeltest_blending.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_blending.cc
diff --git a/cc/trees/layer_tree_host_pixeltest_blending.cc b/cc/trees/layer_tree_host_pixeltest_blending.cc
index 656d2922e027b269fa81f5375b6a3535e048f0f7..1baddee842cda6584a35a0ab39b58bcd2693682a 100644
--- a/cc/trees/layer_tree_host_pixeltest_blending.cc
+++ b/cc/trees/layer_tree_host_pixeltest_blending.cc
@@ -222,7 +222,7 @@ class LayerTreeHostBlendingPixelTest : public LayerTreeHostPixelResourceTest {
CreateSolidColorLayer(child_rect, color);
lane->SetBlendMode(blend_mode);
lane->SetOpacity(opacity);
- lane->SetForceRenderSurfaceForTesting(true);
+ lane->SetForceRenderSurface(true);
// Layers with kDstIn blend mode with a mask is not supported.
if (flags & kUseMasks && blend_mode != SkBlendMode::kDstIn)
SetupMaskLayer(lane);

Powered by Google App Engine
This is Rietveld 408576698