Index: Source/platform/graphics/Path.cpp |
diff --git a/Source/platform/graphics/Path.cpp b/Source/platform/graphics/Path.cpp |
index 633b64eee665bf117b6e682efc42db8e73fd5064..cac95274fb9d6aa2fa90f8c8f329158efa4db099 100644 |
--- a/Source/platform/graphics/Path.cpp |
+++ b/Source/platform/graphics/Path.cpp |
@@ -472,6 +472,11 @@ void Path::addBeziersForRoundedRect(const FloatRect& rect, const FloatSize& topL |
closeSubpath(); |
} |
+void Path::addPath(const Path& src, const AffineTransform& transform) |
+{ |
+ m_path.addPath(src.skPath(), affineTransformToSkMatrix(transform)); |
+} |
+ |
void Path::translate(const FloatSize& size) |
{ |
m_path.offset(WebCoreFloatToSkScalar(size.width()), WebCoreFloatToSkScalar(size.height())); |