Title: [187076] branches/safari-601.1-branch/Source/WebCore
Revision
187076
Author
matthew_han...@apple.com
Date
2015-07-20 21:37:48 -0700 (Mon, 20 Jul 2015)

Log Message

Merge r186991. rdar://problem/21643094

Modified Paths

Diff

Modified: branches/safari-601.1-branch/Source/WebCore/ChangeLog (187075 => 187076)


--- branches/safari-601.1-branch/Source/WebCore/ChangeLog	2015-07-21 04:37:46 UTC (rev 187075)
+++ branches/safari-601.1-branch/Source/WebCore/ChangeLog	2015-07-21 04:37:48 UTC (rev 187076)
@@ -1,5 +1,21 @@
 2015-07-20  Matthew Hanson  <matthew_han...@apple.com>
 
+        Merge r186991. rdar://problem/21643094
+
+    2015-07-18  David Kilzer  <ddkil...@apple.com>
+
+            REGRESSION (r186976): Use piFloat instead of M_PI
+
+            Attempt to fix the following build failure:
+
+                PathUtilities.cpp(183): error C2065: 'M_PI' : undeclared identifier [...\Source\WebCore\WebCore.vcxproj\WebCore.vcxproj]
+
+            * platform/graphics/PathUtilities.cpp:
+            (WebCore::walkGraphAndExtractPolygon): Use piFloat since M_PI is
+            not defined on Windows.
+
+2015-07-20  Matthew Hanson  <matthew_han...@apple.com>
+
         Merge r186990. rdar://problem/21643094
 
     2015-07-18  David Kilzer  <ddkil...@apple.com>

Modified: branches/safari-601.1-branch/Source/WebCore/platform/graphics/PathUtilities.cpp (187075 => 187076)


--- branches/safari-601.1-branch/Source/WebCore/platform/graphics/PathUtilities.cpp	2015-07-21 04:37:46 UTC (rev 187075)
+++ branches/safari-601.1-branch/Source/WebCore/platform/graphics/PathUtilities.cpp	2015-07-21 04:37:48 UTC (rev 187076)
@@ -180,7 +180,7 @@
             float crossZ = nextVec.x() * currentVec.y() - nextVec.y() * currentVec.x();
 
             if (crossZ < 0)
-                angle = (2 * M_PI) - angle;
+                angle = (2 * piFloat) - angle;
 
             if (!nextNode || angle > nextNodeAngle) {
                 nextNode = potentialNextNode;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to