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

Unified Diff: cc/trees/layer_tree_host_impl.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/layer_tree_host_impl.cc
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index c986b16079881dc15b289d59bd0353d38aa69655..64df597403ffded31411c44a6ea67dc1bd21a605 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -731,7 +731,7 @@ static void AppendQuadsToFillScreen(const gfx::Rect& root_scroll_layer_rect,
target_render_pass->CreateAndAppendSharedQuadState();
shared_quad_state->SetAll(gfx::Transform(), root_target_rect.size(),
root_target_rect, root_target_rect, false, opacity,
- SkXfermode::kSrcOver_Mode, sorting_context_id);
+ SkBlendMode::kSrcOver, sorting_context_id);
for (Region::Iterator fill_rects(fill_region); fill_rects.has_rect();
fill_rects.next()) {

Powered by Google App Engine
This is Rietveld 408576698