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

Unified Diff: ui/aura/test/test_window_delegate.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/demo/demo_main.cc ('k') | ui/compositor/compositing_recorder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/test_window_delegate.cc
diff --git a/ui/aura/test/test_window_delegate.cc b/ui/aura/test/test_window_delegate.cc
index bf49079c038da8c90393b90ef05ab1083bc91d6f..9624e8537fd8412f018d49c45068c06b5d94b415 100644
--- a/ui/aura/test/test_window_delegate.cc
+++ b/ui/aura/test/test_window_delegate.cc
@@ -124,7 +124,7 @@ void ColorTestWindowDelegate::OnWindowDestroyed(Window* window) {
void ColorTestWindowDelegate::OnPaint(const ui::PaintContext& context) {
ui::PaintRecorder recorder(context, window_size_);
- recorder.canvas()->DrawColor(color_, SkXfermode::kSrc_Mode);
+ recorder.canvas()->DrawColor(color_, SkBlendMode::kSrc);
}
////////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « ui/aura/demo/demo_main.cc ('k') | ui/compositor/compositing_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698