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

Unified Diff: cc/output/ca_layer_overlay.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/layers/solid_color_layer_impl_unittest.cc ('k') | cc/output/gl_renderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/ca_layer_overlay.cc
diff --git a/cc/output/ca_layer_overlay.cc b/cc/output/ca_layer_overlay.cc
index c949d259156fb89b204acb80ee368b69bf0b7d92..0715345705dfd0ce7fed1272ce992ff171c23624 100644
--- a/cc/output/ca_layer_overlay.cc
+++ b/cc/output/ca_layer_overlay.cc
@@ -169,7 +169,7 @@ class CALayerOverlayProcessor {
CALayerOverlay* ca_layer_overlay,
bool* skip,
bool* render_pass_draw_quad) {
- if (quad->shared_quad_state->blend_mode != SkXfermode::kSrcOver_Mode)
+ if (quad->shared_quad_state->blend_mode != SkBlendMode::kSrcOver)
return CA_LAYER_FAILED_QUAD_BLEND_MODE;
// Early-out for invisible quads.
« no previous file with comments | « cc/layers/solid_color_layer_impl_unittest.cc ('k') | cc/output/gl_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698