[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
commit-queue at webkit.org
commit-queue at webkit.org
Wed Dec 22 13:58:46 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 51c44f5fc2a2ea009d959f0cd6e7d21d0169b7fa
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Sep 30 21:20:40 2010 +0000
2010-09-30 Jarred Nicholls <jarred at sencha.com>
Reviewed by Darin Adler.
Removed unnecessary calls to ceil() on an int
Removing the call fixes MSVC build errors
https://bugs.webkit.org/show_bug.cgi?id=46931
* platform/graphics/ContextShadow.cpp:
(WebCore::ContextShadow::calculateLayerBoundingRect):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68824 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index b0de4ea..274888f 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,14 @@
+2010-09-30 Jarred Nicholls <jarred at sencha.com>
+
+ Reviewed by Darin Adler.
+
+ Removed unnecessary calls to ceil() on an int
+ Removing the call fixes MSVC build errors
+ https://bugs.webkit.org/show_bug.cgi?id=46931
+
+ * platform/graphics/ContextShadow.cpp:
+ (WebCore::ContextShadow::calculateLayerBoundingRect):
+
2010-09-30 David Hyatt <hyatt at apple.com>
Reviewed by Beth Dakin.
diff --git a/WebCore/platform/graphics/ContextShadow.cpp b/WebCore/platform/graphics/ContextShadow.cpp
index 1007962..51d748f 100644
--- a/WebCore/platform/graphics/ContextShadow.cpp
+++ b/WebCore/platform/graphics/ContextShadow.cpp
@@ -154,7 +154,7 @@ void ContextShadow::calculateLayerBoundingRect(const FloatRect& layerArea, const
m_layerRect = enclosingIntRect(destinationRect);
// We expand the area by the blur radius * 2 to give extra space for the blur transition.
- m_layerRect.inflate((m_type == BlurShadow) ? ceil(m_blurRadius * 2) : 0);
+ m_layerRect.inflate((m_type == BlurShadow) ? m_blurRadius * 2 : 0);
if (!clipRect.contains(m_layerRect)) {
// No need to have the buffer larger than the clip.
@@ -167,7 +167,7 @@ void ContextShadow::calculateLayerBoundingRect(const FloatRect& layerArea, const
// We adjust again because the pixels at the borders are still
// potentially affected by the pixels outside the buffer.
if (m_type == BlurShadow)
- m_layerRect.inflate((m_type == BlurShadow) ? ceil(m_blurRadius * 2) : 0);
+ m_layerRect.inflate((m_type == BlurShadow) ? m_blurRadius * 2 : 0);
}
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list