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

Unified Diff: cc/trees/occlusion_tracker_unittest.cc

Issue 2502373003: stop using SkXfermode -- use SkBlendMode instead (Closed)
Patch Set: Created 4 years, 1 month 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/occlusion_tracker_unittest.cc
diff --git a/cc/trees/occlusion_tracker_unittest.cc b/cc/trees/occlusion_tracker_unittest.cc
index d99d41eb419e31bdbdd40c0511e69b6e85b8b5c2..9dc331bfae0bc97dca0aac40ec191e4e68ac7159 100644
--- a/cc/trees/occlusion_tracker_unittest.cc
+++ b/cc/trees/occlusion_tracker_unittest.cc
@@ -1772,8 +1772,7 @@ class OcclusionTrackerTestBlendModeDoesNotOcclude
// Blend mode makes the layer own a surface.
blend_mode_layer->test_properties()->force_render_surface = true;
- blend_mode_layer->test_properties()->blend_mode =
- SkXfermode::kMultiply_Mode;
+ blend_mode_layer->test_properties()->blend_mode = SkBlendMode::kMultiply;
this->CalcDrawEtc(parent);

Powered by Google App Engine
This is Rietveld 408576698