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

Unified Diff: cc/trees/occlusion_tracker_unittest.cc

Issue 2184773002: cc: Move blend_mode to the effect tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « cc/trees/occlusion_tracker.cc ('k') | cc/trees/property_tree_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/occlusion_tracker_unittest.cc
diff --git a/cc/trees/occlusion_tracker_unittest.cc b/cc/trees/occlusion_tracker_unittest.cc
index d817c55ebf63ea1a728bc184292e549b00eda825..7e30eb855663cba3aa41383d04c842f48c9ae204 100644
--- a/cc/trees/occlusion_tracker_unittest.cc
+++ b/cc/trees/occlusion_tracker_unittest.cc
@@ -1973,7 +1973,8 @@ class OcclusionTrackerTestBlendModeDoesNotOcclude
// Blend mode makes the layer own a surface.
blend_mode_layer->test_properties()->force_render_surface = true;
- blend_mode_layer->SetBlendMode(SkXfermode::kMultiply_Mode);
+ blend_mode_layer->test_properties()->blend_mode =
+ SkXfermode::kMultiply_Mode;
this->CalcDrawEtc(parent);
« no previous file with comments | « cc/trees/occlusion_tracker.cc ('k') | cc/trees/property_tree_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698