Index: Source/core/html/canvas/CanvasPattern.cpp |
diff --git a/Source/core/html/canvas/CanvasPattern.cpp b/Source/core/html/canvas/CanvasPattern.cpp |
index 0d6f44fe066b857538eed1cc06cec43e521e493f..feb5767ae902a6e455d2321e002d7e03efd2f3b8 100644 |
--- a/Source/core/html/canvas/CanvasPattern.cpp |
+++ b/Source/core/html/canvas/CanvasPattern.cpp |
@@ -57,4 +57,9 @@ CanvasPattern::CanvasPattern(PassRefPtr<Image> image, Pattern::RepeatMode repeat |
{ |
} |
+void CanvasPattern::setTransform(SVGMatrixTearOff* transform) |
+{ |
+ pattern()->setPatternSpaceTransform(transform ? transform->value() : AffineTransform(1, 0, 0, 1, 0, 0)); |
+} |
+ |
} |