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

Unified Diff: ash/utility/screenshot_controller.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 | « ash/mus/frame/custom_frame_view_mus.cc ('k') | cc/blimp/layer_tree_host_unittest_serialization.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/utility/screenshot_controller.cc
diff --git a/ash/utility/screenshot_controller.cc b/ash/utility/screenshot_controller.cc
index ce2c799e884470fbaf45d9bf9c1918c6d6ca3d76..d230303325c403fe3c61732385f2a931ac1f4a6a 100644
--- a/ash/utility/screenshot_controller.cc
+++ b/ash/utility/screenshot_controller.cc
@@ -137,8 +137,7 @@ class ScreenshotController::ScreenshotLayer : public ui::LayerOwner,
DrawPseudoCursor(recorder.canvas());
if (!region_.IsEmpty())
- recorder.canvas()->FillRect(region_, SK_ColorBLACK,
- SkXfermode::kClear_Mode);
+ recorder.canvas()->FillRect(region_, SK_ColorBLACK, SkBlendMode::kClear);
}
void OnDelegatedFrameDamage(const gfx::Rect& damage_rect_in_dip) override {}
« no previous file with comments | « ash/mus/frame/custom_frame_view_mus.cc ('k') | cc/blimp/layer_tree_host_unittest_serialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698