Index: Source/platform/geometry/FloatSize.cpp |
diff --git a/Source/platform/geometry/FloatSize.cpp b/Source/platform/geometry/FloatSize.cpp |
index 324a7cb08112fb3f5ad948107129e2655addf793..e033b78392b6e2a4c135bdb9769dd45ff7f7addf 100644 |
--- a/Source/platform/geometry/FloatSize.cpp |
+++ b/Source/platform/geometry/FloatSize.cpp |
@@ -37,7 +37,9 @@ using namespace std; |
namespace WebCore { |
-FloatSize::FloatSize(const LayoutSize& size) : m_width(size.width()), m_height(size.height()) |
+FloatSize::FloatSize(const LayoutSize& size) |
+ : m_width(size.width().toFloat()) |
+ , m_height(size.height().toFloat()) |
{ |
} |