Index: Source/core/html/canvas/CanvasRenderingContext2D.h |
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.h b/Source/core/html/canvas/CanvasRenderingContext2D.h |
index 90b1fc7ea51ce52be4d1826e089b2c00cf38057f..6967fca6b63981fb260f598d20e28992ad22fcef 100644 |
--- a/Source/core/html/canvas/CanvasRenderingContext2D.h |
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.h |
@@ -30,7 +30,7 @@ |
#include "core/html/canvas/Canvas2DContextAttributes.h" |
#include "core/html/canvas/CanvasPathMethods.h" |
#include "core/html/canvas/CanvasRenderingContext.h" |
-#include "core/svg/SVGMatrix.h" |
+#include "core/svg/SVGMatrixTearOff.h" |
#include "platform/fonts/Font.h" |
#include "platform/graphics/Color.h" |
#include "platform/geometry/FloatSize.h" |
@@ -116,11 +116,11 @@ public: |
void save() { ++m_stateStack.last().m_unrealizedSaveCount; } |
void restore(); |
- SVGMatrix currentTransform() const |
+ PassRefPtr<SVGMatrixTearOff> currentTransform() const |
{ |
- return SVGMatrix(state().m_transform); |
+ return SVGMatrixTearOff::create(state().m_transform); |
} |
- void setCurrentTransform(const SVGMatrix&); |
+ void setCurrentTransform(PassRefPtr<SVGMatrixTearOff>); |
void scale(float sx, float sy); |
void rotate(float angleInRadians); |