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

Unified Diff: ui/compositor/compositing_recorder.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 | « ui/aura/test/test_window_delegate.cc ('k') | ui/gfx/canvas.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositing_recorder.cc
diff --git a/ui/compositor/compositing_recorder.cc b/ui/compositor/compositing_recorder.cc
index 1c488e03a893d67cb8d1ce39da8b2ca63e2de3b2..9f556cbe5ab401503dc7e9b896184137c439be51 100644
--- a/ui/compositor/compositing_recorder.cc
+++ b/ui/compositor/compositing_recorder.cc
@@ -20,7 +20,7 @@ CompositingRecorder::CompositingRecorder(const PaintContext& context,
return;
context_.list_->CreateAndAppendPairedBeginItem<cc::CompositingDisplayItem>(
- alpha, SkXfermode::kSrcOver_Mode, nullptr /* no bounds */,
+ alpha, SkBlendMode::kSrcOver, nullptr /* no bounds */,
nullptr /* no color filter */, lcd_text_requires_opaque_layer);
}
« no previous file with comments | « ui/aura/test/test_window_delegate.cc ('k') | ui/gfx/canvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698