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

Unified Diff: chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc

Issue 2575533002: SkClipOp is an enum class now (Closed)
Patch Set: Created 4 years 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
Index: chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
index 6fb936b2f9b9405dbe8e181dc741d4748c1b4fa8..8dde24931392ebcb97e6c0012d1ac0cbbc80b37a 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
@@ -504,7 +504,7 @@ void BrowserNonClientFrameViewAsh::PaintToolbarBackground(gfx::Canvas* canvas) {
gfx::ScopedCanvas scoped_canvas(canvas);
gfx::Rect tabstrip_bounds(GetBoundsForTabStrip(browser_view()->tabstrip()));
tabstrip_bounds.set_x(GetMirroredXForRect(tabstrip_bounds));
- canvas->ClipRect(tabstrip_bounds, kDifference_SkClipOp);
+ canvas->ClipRect(tabstrip_bounds, SkClipOp::kDifference);
const gfx::Rect separator_rect(toolbar_bounds.x(), tabstrip_bounds.bottom(),
toolbar_bounds.width(), 0);
BrowserView::Paint1pxHorizontalLine(canvas, GetToolbarTopSeparatorColor(),
« no previous file with comments | « cc/proto/skia_conversions_unittest.cc ('k') | chrome/browser/ui/views/frame/browser_non_client_frame_view_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698