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

Unified Diff: ui/gfx/canvas.h

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
« no previous file with comments | « ui/compositor/clip_recorder.cc ('k') | ui/gfx/canvas.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/canvas.h
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h
index 24d6dbe9d3441aa9ce4de36fbc7a4621dca04c81..00f5b9103fc53f195d5bf3d67a697a73d2e61b5b 100644
--- a/ui/gfx/canvas.h
+++ b/ui/gfx/canvas.h
@@ -196,8 +196,8 @@ class GFX_EXPORT Canvas {
void Restore();
// Applies |rect| to the current clip using the specified region |op|.
- void ClipRect(const Rect& rect, SkClipOp op = kIntersect_SkClipOp);
- void ClipRect(const RectF& rect, SkClipOp op = kIntersect_SkClipOp);
+ void ClipRect(const Rect& rect, SkClipOp op = SkClipOp::kIntersect);
+ void ClipRect(const RectF& rect, SkClipOp op = SkClipOp::kIntersect);
// Adds |path| to the current clip. |do_anti_alias| is true if the clip
// should be antialiased.
« no previous file with comments | « ui/compositor/clip_recorder.cc ('k') | ui/gfx/canvas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698