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

Unified Diff: cc/trees/occlusion_tracker.cc

Issue 2502373003: stop using SkXfermode -- use SkBlendMode instead (Closed)
Patch Set: rebase 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
« no previous file with comments | « cc/trees/layer_tree_host_pixeltest_masks.cc ('k') | cc/trees/occlusion_tracker_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/occlusion_tracker.cc
diff --git a/cc/trees/occlusion_tracker.cc b/cc/trees/occlusion_tracker.cc
index 5ca0f56fe807308636ed7098f33c008c55c8018c..56d237c6665e75a54555018b6f1e91468f731f73 100644
--- a/cc/trees/occlusion_tracker.cc
+++ b/cc/trees/occlusion_tracker.cc
@@ -328,7 +328,7 @@ void OcclusionTracker::MarkOccludedBehindLayer(const LayerImpl* layer) {
// The only currently supported draw_blend_mode is SrcOver mode, so
// draw_blend_mode does not affect occlusion.
- DCHECK_EQ(layer->draw_blend_mode(), SkXfermode::kSrcOver_Mode);
+ DCHECK_EQ(layer->draw_blend_mode(), SkBlendMode::kSrcOver);
if (layer->Is3dSorted())
return;
« no previous file with comments | « cc/trees/layer_tree_host_pixeltest_masks.cc ('k') | cc/trees/occlusion_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698