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

Unified Diff: cc/trees/layer_tree_host_pixeltest_blending.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_pixeltest_blending.cc
diff --git a/cc/trees/layer_tree_host_pixeltest_blending.cc b/cc/trees/layer_tree_host_pixeltest_blending.cc
index e4d95bc361ec74d39ed7dcf097cd48b31913ff5a..460b82500c848aa9036358d8fc32087f9fa01702 100644
--- a/cc/trees/layer_tree_host_pixeltest_blending.cc
+++ b/cc/trees/layer_tree_host_pixeltest_blending.cc
@@ -220,7 +220,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