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

Unified Diff: third_party/WebKit/Source/modules/canvas2d/ClipList.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
Index: third_party/WebKit/Source/modules/canvas2d/ClipList.cpp
diff --git a/third_party/WebKit/Source/modules/canvas2d/ClipList.cpp b/third_party/WebKit/Source/modules/canvas2d/ClipList.cpp
index 506fd5da8cf9bc3633a22a4e7f50f04c4b162ab8..24fad9895e12b92fd3709fad351d9abad6bfb1a7 100644
--- a/third_party/WebKit/Source/modules/canvas2d/ClipList.cpp
+++ b/third_party/WebKit/Source/modules/canvas2d/ClipList.cpp
@@ -29,7 +29,7 @@ void ClipList::clipPath(const SkPath& path,
void ClipList::playback(SkCanvas* canvas) const {
for (const ClipOp* it = m_clipList.begin(); it < m_clipList.end(); it++) {
- canvas->clipPath(it->m_path, kIntersect_SkClipOp,
+ canvas->clipPath(it->m_path, SkClipOp::kIntersect,
it->m_antiAliasingMode == AntiAliased);
}
}

Powered by Google App Engine
This is Rietveld 408576698