Title: [191297] trunk/Source/WebCore
Revision
191297
Author
mmaxfi...@apple.com
Date
2015-10-19 10:58:49 -0700 (Mon, 19 Oct 2015)

Log Message

[iOS] Build fix after r191295

Unreviewed.

* platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::GraphicsContext::resetPlatformCTM):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (191296 => 191297)


--- trunk/Source/WebCore/ChangeLog	2015-10-19 17:54:46 UTC (rev 191296)
+++ trunk/Source/WebCore/ChangeLog	2015-10-19 17:58:49 UTC (rev 191297)
@@ -1,5 +1,14 @@
 2015-10-19  Myles C. Maxfield  <mmaxfi...@apple.com>
 
+        [iOS] Build fix after r191295
+
+        Unreviewed.
+
+        * platform/graphics/cg/GraphicsContextCG.cpp:
+        (WebCore::GraphicsContext::resetPlatformCTM):
+
+2015-10-19  Myles C. Maxfield  <mmaxfi...@apple.com>
+
         Host GraphicsContext's CTM inside GraphicsContextState
         https://bugs.webkit.org/show_bug.cgi?id=150146
 

Modified: trunk/Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp (191296 => 191297)


--- trunk/Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp	2015-10-19 17:54:46 UTC (rev 191296)
+++ trunk/Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp	2015-10-19 17:58:49 UTC (rev 191297)
@@ -107,7 +107,7 @@
 void GraphicsContext::resetPlatformCTM()
 {
     m_state.ctm = CGContextGetCTM(platformContext());
-#if PLATFORM(WIN)
+#if PLATFORM(WIN) || PLATFORM(IOS)
     m_state.userToDeviceSpaceCTM = static_cast<AffineTransform>(CGContextGetUserSpaceToDeviceSpaceTransform(platformContext())) * m_state.ctm.inverse();
 #else
     m_state.userToDeviceSpaceCTM = CGContextGetDefaultUserSpaceToDeviceSpaceTransform(platformContext());
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to