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

Unified Diff: Source/platform/graphics/Path.cpp

Issue 1057373002: Switch to new SkPathOps enumeration. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/Path.cpp
diff --git a/Source/platform/graphics/Path.cpp b/Source/platform/graphics/Path.cpp
index 49cc81487d77b6f2c86efcc9b72cc23577ae6614..89875f5d836a73bd56e9c3fa0a5086af87b81c8b 100644
--- a/Source/platform/graphics/Path.cpp
+++ b/Source/platform/graphics/Path.cpp
@@ -491,17 +491,17 @@ void Path::translate(const FloatSize& size)
bool Path::subtractPath(const Path& other)
{
- return Op(m_path, other.m_path, kDifference_PathOp, &m_path);
+ return Op(m_path, other.m_path, kDifference_SkPathOp, &m_path);
}
bool Path::intersectPath(const Path& other)
{
- return Op(m_path, other.m_path, kIntersect_PathOp, &m_path);
+ return Op(m_path, other.m_path, kIntersect_SkPathOp, &m_path);
}
bool Path::unionPath(const Path& other)
{
- return Op(m_path, other.m_path, kUnion_PathOp, &m_path);
+ return Op(m_path, other.m_path, kUnion_SkPathOp, &m_path);
}
#if ENABLE(ASSERT)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698