Title: [91139] trunk/Source/WebCore
Revision
91139
Author
simon.fra...@apple.com
Date
2011-07-15 18:40:57 -0700 (Fri, 15 Jul 2011)

Log Message

2011-07-15  Simon Fraser  <simon.fra...@apple.com>

        Fix build error in 32-bit builds.

        * rendering/svg/RenderSVGPath.cpp:
        (WebCore::RenderSVGPath::zeroLengthSubpathRect):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (91138 => 91139)


--- trunk/Source/WebCore/ChangeLog	2011-07-16 01:33:12 UTC (rev 91138)
+++ trunk/Source/WebCore/ChangeLog	2011-07-16 01:40:57 UTC (rev 91139)
@@ -1,5 +1,12 @@
 2011-07-15  Simon Fraser  <simon.fra...@apple.com>
 
+        Fix build error in 32-bit builds.
+
+        * rendering/svg/RenderSVGPath.cpp:
+        (WebCore::RenderSVGPath::zeroLengthSubpathRect):
+
+2011-07-15  Simon Fraser  <simon.fra...@apple.com>
+
         Fix Windows build.
 
         * platform/graphics/win/MediaPlayerPrivateQuickTimeWin.h:

Modified: trunk/Source/WebCore/rendering/svg/RenderSVGPath.cpp (91138 => 91139)


--- trunk/Source/WebCore/rendering/svg/RenderSVGPath.cpp	2011-07-16 01:33:12 UTC (rev 91138)
+++ trunk/Source/WebCore/rendering/svg/RenderSVGPath.cpp	2011-07-16 01:40:57 UTC (rev 91139)
@@ -162,7 +162,7 @@
 {
     SVGElement* svgElement = static_cast<SVGElement*>(node());
     float strokeWidth = style()->svgStyle()->strokeWidth().value(svgElement);
-    return FloatRect(m_fillBoundingBox.x() - strokeWidth / 2., m_fillBoundingBox.y() - strokeWidth / 2., strokeWidth, strokeWidth);
+    return FloatRect(m_fillBoundingBox.x() - strokeWidth / 2, m_fillBoundingBox.y() - strokeWidth / 2, strokeWidth, strokeWidth);
 }
 
 void RenderSVGPath::setupSquareCapPath(Path*& usePath, int& applyMode)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to