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

Unified Diff: third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.cpp

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 | « skia/ext/benchmarking_canvas.cc ('k') | third_party/WebKit/Source/modules/canvas2d/ClipList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.cpp
diff --git a/third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.cpp b/third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.cpp
index ddafd62e7a398a28af62161b8a158ac9bf9e65d9..cab9c697ddd2a7a5d241116374d785e51ad47480 100644
--- a/third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.cpp
+++ b/third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.cpp
@@ -739,7 +739,7 @@ void BaseRenderingContext2D::clipInternal(const Path& path,
SkPath skPath = path.getSkPath();
skPath.setFillType(parseWinding(windingRuleString));
modifiableState().clipPath(skPath, m_clipAntialiasing);
- c->clipPath(skPath, kIntersect_SkClipOp, m_clipAntialiasing == AntiAliased);
+ c->clipPath(skPath, SkClipOp::kIntersect, m_clipAntialiasing == AntiAliased);
if (ExpensiveCanvasHeuristicParameters::ComplexClipsAreExpensive &&
!skPath.isRect(0) && hasImageBuffer()) {
imageBuffer()->setHasExpensiveOp();
« no previous file with comments | « skia/ext/benchmarking_canvas.cc ('k') | third_party/WebKit/Source/modules/canvas2d/ClipList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698