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

Unified Diff: ui/gfx/canvas.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
« no previous file with comments | « ui/gfx/canvas.h ('k') | ui/gfx/image/image_skia_operations.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/canvas.cc
diff --git a/ui/gfx/canvas.cc b/ui/gfx/canvas.cc
index 9dd7aea0ef239495b258b32ac759b01689058e1c..9e82c7fc411256174891b9d69c6c7a6ca91b9e78 100644
--- a/ui/gfx/canvas.cc
+++ b/ui/gfx/canvas.cc
@@ -196,7 +196,7 @@ void Canvas::ClipRect(const RectF& rect, SkClipOp op) {
}
void Canvas::ClipPath(const SkPath& path, bool do_anti_alias) {
- canvas_->clipPath(path, kIntersect_SkClipOp, do_anti_alias);
+ canvas_->clipPath(path, SkClipOp::kIntersect, do_anti_alias);
}
bool Canvas::IsClipEmpty() const {
« no previous file with comments | « ui/gfx/canvas.h ('k') | ui/gfx/image/image_skia_operations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698