Title: [97487] trunk/Source/WebCore
- Revision
- 97487
- Author
- [email protected]
- Date
- 2011-10-14 11:45:40 -0700 (Fri, 14 Oct 2011)
Log Message
Attempted Leopard build fix.
* platform/graphics/GraphicsContext.cpp:
(WebCore::GraphicsContext::createCompatibleBuffer):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (97486 => 97487)
--- trunk/Source/WebCore/ChangeLog 2011-10-14 18:41:37 UTC (rev 97486)
+++ trunk/Source/WebCore/ChangeLog 2011-10-14 18:45:40 UTC (rev 97487)
@@ -1,3 +1,10 @@
+2011-10-14 Beth Dakin <[email protected]>
+
+ Attempted Leopard build fix.
+
+ * platform/graphics/GraphicsContext.cpp:
+ (WebCore::GraphicsContext::createCompatibleBuffer):
+
2011-10-14 Andreas Kling <[email protected]>
CSSStyleSheet should only ever contain CSSRules.
Modified: trunk/Source/WebCore/platform/graphics/GraphicsContext.cpp (97486 => 97487)
--- trunk/Source/WebCore/platform/graphics/GraphicsContext.cpp 2011-10-14 18:41:37 UTC (rev 97486)
+++ trunk/Source/WebCore/platform/graphics/GraphicsContext.cpp 2011-10-14 18:45:40 UTC (rev 97487)
@@ -752,7 +752,7 @@
// graphics context.
AffineTransform transform = getCTM();
- IntSize scaledSize(size.width() * transform.xScale(), size.height() * transform.yScale());
+ IntSize scaledSize(static_cast<int>(ceil(size.width() * transform.xScale())), static_cast<int>(ceil(size.height() * transform.yScale())));
OwnPtr<ImageBuffer> buffer = ImageBuffer::create(scaledSize);
if (!buffer)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes