Title: [154317] trunk/Source/WebCore
- Revision
- 154317
- Author
- [email protected]
- Date
- 2013-08-20 00:27:47 -0700 (Tue, 20 Aug 2013)
Log Message
Windows build fix after r154314.
* platform/graphics/cg/PathCG.cpp:
(WebCore::Path::platformAddPathForRoundedRect):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (154316 => 154317)
--- trunk/Source/WebCore/ChangeLog 2013-08-20 06:48:42 UTC (rev 154316)
+++ trunk/Source/WebCore/ChangeLog 2013-08-20 07:27:47 UTC (rev 154317)
@@ -1,3 +1,10 @@
+2013-08-20 Ryosuke Niwa <[email protected]>
+
+ Windows build fix after r154314.
+
+ * platform/graphics/cg/PathCG.cpp:
+ (WebCore::Path::platformAddPathForRoundedRect):
+
2013-08-19 Hurnjoo Lee <[email protected]>
[Cairo] Canvas putImageData is not working as expected
Modified: trunk/Source/WebCore/platform/graphics/cg/PathCG.cpp (154316 => 154317)
--- trunk/Source/WebCore/platform/graphics/cg/PathCG.cpp 2013-08-20 06:48:42 UTC (rev 154316)
+++ trunk/Source/WebCore/platform/graphics/cg/PathCG.cpp 2013-08-20 07:27:47 UTC (rev 154317)
@@ -255,6 +255,7 @@
void Path::platformAddPathForRoundedRect(const FloatRect& rect, const FloatSize& topLeftRadius, const FloatSize& topRightRadius, const FloatSize& bottomLeftRadius, const FloatSize& bottomRightRadius)
{
+#if PLATFORM(MAC)
bool equalWidths = (topLeftRadius.width() == topRightRadius.width() && topRightRadius.width() == bottomLeftRadius.width() && bottomLeftRadius.width() == bottomRightRadius.width());
bool equalHeights = (topLeftRadius.height() == bottomLeftRadius.height() && bottomLeftRadius.height() == topRightRadius.height() && topRightRadius.height() == bottomRightRadius.height());
@@ -262,6 +263,7 @@
wkCGPathAddRoundedRect(ensurePlatformPath(), 0, rect, topLeftRadius.width(), topLeftRadius.height());
return;
}
+#endif
addBeziersForRoundedRect(rect, topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius);
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes