| Index: Source/platform/graphics/Path.cpp
|
| diff --git a/Source/platform/graphics/Path.cpp b/Source/platform/graphics/Path.cpp
|
| index 1fb35c058621dc9bf19e4bf90f3aaed9956b8a72..f6e1671ed9e7941c374b4f25c6a313f7feebea48 100644
|
| --- a/Source/platform/graphics/Path.cpp
|
| +++ b/Source/platform/graphics/Path.cpp
|
| @@ -482,6 +482,11 @@ void Path::translate(const FloatSize& size)
|
| m_path.offset(WebCoreFloatToSkScalar(size.width()), WebCoreFloatToSkScalar(size.height()));
|
| }
|
|
|
| +bool Path::subtractPath(const Path& other)
|
| +{
|
| + return Op(m_path, other.m_path, kDifference_PathOp, &m_path);
|
| +}
|
| +
|
| bool Path::unionPath(const Path& other)
|
| {
|
| return Op(m_path, other.m_path, kUnion_PathOp, &m_path);
|
|
|