Index: third_party/WebKit/WebCore/platform/graphics/cg/GraphicsContextCG.cpp |
=================================================================== |
--- third_party/WebKit/WebCore/platform/graphics/cg/GraphicsContextCG.cpp (revision 9391) |
+++ third_party/WebKit/WebCore/platform/graphics/cg/GraphicsContextCG.cpp (working copy) |
@@ -907,7 +907,8 @@ |
TransformationMatrix GraphicsContext::getCTM() const |
{ |
- return CGContextGetCTM(platformContext()); |
+ CGAffineTransform t = CGContextGetCTM(platformContext()); |
+ return TransformationMatrix(t.a, t.b, t.c, t.d, t.tx, t.ty); |
} |
FloatRect GraphicsContext::roundToDevicePixels(const FloatRect& rect) |