diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/FloatRect.h')
-rw-r--r-- | Source/WebCore/platform/graphics/FloatRect.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/FloatRect.h b/Source/WebCore/platform/graphics/FloatRect.h index 22c171c5a..4d4eadfd0 100644 --- a/Source/WebCore/platform/graphics/FloatRect.h +++ b/Source/WebCore/platform/graphics/FloatRect.h @@ -66,6 +66,7 @@ namespace WebCore { class VGRect; #endif +class FractionalLayoutRect; class IntRect; class IntPoint; @@ -82,6 +83,7 @@ public: FloatRect(float x, float y, float width, float height) : m_location(FloatPoint(x, y)), m_size(FloatSize(width, height)) { } FloatRect(const IntRect&); + FloatRect(const FractionalLayoutRect&); static FloatRect narrowPrecision(double x, double y, double width, double height); |