Index: Source/platform/graphics/Path.cpp |
diff --git a/Source/platform/graphics/Path.cpp b/Source/platform/graphics/Path.cpp |
index e04f4a8ea7b3752ec08b468f4ab578b7b9a46ae7..ced5d9e922adcdd0c53bda2deb74033f96e2301f 100644 |
--- a/Source/platform/graphics/Path.cpp |
+++ b/Source/platform/graphics/Path.cpp |
@@ -436,6 +436,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())); |