2006-11-27 Anders Carlsson <acarlsson@apple.com>
authorandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Nov 2006 07:06:57 +0000 (07:06 +0000)
committerandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Nov 2006 07:06:57 +0000 (07:06 +0000)
        Try fixing the build.

        * platform/graphics/IntRect.cpp:
        (WebCore::IntRect::IntRect):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17904 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/platform/graphics/IntRect.cpp

index 182e9227654dd0ef2fcd4b52586d3628f636b9be..7504bdc8d916371024b9d53f9b6317b83a4af8ab 100644 (file)
@@ -1,3 +1,10 @@
+2006-11-27  Anders Carlsson  <acarlsson@apple.com>
+
+        Try fixing the build.
+        
+        * platform/graphics/IntRect.cpp:
+        (WebCore::IntRect::IntRect):
+
 2006-11-27  Beth Dakin  <bdakin@apple.com>
 
         Reviewed by Adam.
 2006-11-27  Beth Dakin  <bdakin@apple.com>
 
         Reviewed by Adam.
index 764cf48a3ffddb3fdd7641d64300c6e4cfe5ef69..622e52527b422dfea975f163e0bd692634506917 100644 (file)
@@ -35,8 +35,8 @@ using std::min;
 namespace WebCore {
 
 IntRect::IntRect(const FloatRect& r)
 namespace WebCore {
 
 IntRect::IntRect(const FloatRect& r)
-    : m_location(IntPoint(r.x(), r.y()))
-    , m_size(IntSize(r.width(), r.height()))
+    : m_location(IntPoint(static_cast<int>(r.x()), static_cast<int>(r.y())))
+    , m_size(IntSize(static_cast<int>(r.width()), static_cast<int>(r.height())))
 {
 }
 
 {
 }