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

Unified Diff: chrome/browser/chromeos/display/overscan_calibrator.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 | « cc/trees/property_tree_builder.cc ('k') | chrome/browser/renderer_context_menu/render_view_context_menu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/display/overscan_calibrator.cc
diff --git a/chrome/browser/chromeos/display/overscan_calibrator.cc b/chrome/browser/chromeos/display/overscan_calibrator.cc
index f0852ad6c73eb4ca656cac028adb96074edd90e5..9d9ccf5cfd9f900f36ee2e9d0aba7c73253e9b78 100644
--- a/chrome/browser/chromeos/display/overscan_calibrator.cc
+++ b/chrome/browser/chromeos/display/overscan_calibrator.cc
@@ -134,8 +134,7 @@ void OverscanCalibrator::OnPaintLayer(const ui::PaintContext& context) {
gfx::Rect inner_bounds = full_bounds;
inner_bounds.Inset(insets_);
recorder.canvas()->FillRect(full_bounds, SK_ColorBLACK);
- recorder.canvas()->FillRect(inner_bounds, kTransparent,
- SkXfermode::kClear_Mode);
+ recorder.canvas()->FillRect(inner_bounds, kTransparent, SkBlendMode::kClear);
gfx::Point center = inner_bounds.CenterPoint();
int vertical_offset = inner_bounds.height() / 2 - kArrowGapWidth;
« no previous file with comments | « cc/trees/property_tree_builder.cc ('k') | chrome/browser/renderer_context_menu/render_view_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698