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

Unified Diff: ash/mus/frame/custom_frame_view_mus.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 | « no previous file | ash/utility/screenshot_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/frame/custom_frame_view_mus.cc
diff --git a/ash/mus/frame/custom_frame_view_mus.cc b/ash/mus/frame/custom_frame_view_mus.cc
index 37bc60c24bed1544ccd4c2a6e89c7936bbfc159c..468c5610274e46370397060e593f3563d2c4642a 100644
--- a/ash/mus/frame/custom_frame_view_mus.cc
+++ b/ash/mus/frame/custom_frame_view_mus.cc
@@ -27,7 +27,7 @@ void CustomFrameViewMus::OnPaint(gfx::Canvas* canvas) {
// The client app draws the client area. Make ours totally transparent so
// we only see the client app's client area.
canvas->FillRect(GetBoundsForClientView(), SK_ColorBLACK,
- SkXfermode::kClear_Mode);
+ SkBlendMode::kClear);
}
void CustomFrameViewMus::PaintChildren(const ui::PaintContext& context) {
@@ -36,7 +36,7 @@ void CustomFrameViewMus::PaintChildren(const ui::PaintContext& context) {
// we only see the client apps client area.
ui::PaintRecorder recorder(context, size(), &paint_cache_);
recorder.canvas()->FillRect(GetBoundsForClientView(), SK_ColorBLACK,
- SkXfermode::kClear_Mode);
+ SkBlendMode::kClear);
}
} // namespace mus
« no previous file with comments | « no previous file | ash/utility/screenshot_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698