From 50ca2f606aab379d985052ab9d0608f6e705e6c1 Mon Sep 17 00:00:00 2001 From: andersca Date: Tue, 28 Nov 2006 07:06:57 +0000 Subject: [PATCH] 2006-11-27 Anders Carlsson 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 | 7 +++++++ WebCore/platform/graphics/IntRect.cpp | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog index 182e9227654d..7504bdc8d916 100644 --- a/WebCore/ChangeLog +++ b/WebCore/ChangeLog @@ -1,3 +1,10 @@ +2006-11-27 Anders Carlsson + + Try fixing the build. + + * platform/graphics/IntRect.cpp: + (WebCore::IntRect::IntRect): + 2006-11-27 Beth Dakin Reviewed by Adam. diff --git a/WebCore/platform/graphics/IntRect.cpp b/WebCore/platform/graphics/IntRect.cpp index 764cf48a3ffd..622e52527b42 100644 --- a/WebCore/platform/graphics/IntRect.cpp +++ b/WebCore/platform/graphics/IntRect.cpp @@ -35,8 +35,8 @@ using std::min; 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(r.x()), static_cast(r.y()))) + , m_size(IntSize(static_cast(r.width()), static_cast(r.height()))) { } -- 2.36.0