summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/FloatRect.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/FloatRect.h')
-rw-r--r--WebCore/platform/graphics/FloatRect.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/FloatRect.h b/WebCore/platform/graphics/FloatRect.h
index e906812..7c7d32a 100644
--- a/WebCore/platform/graphics/FloatRect.h
+++ b/WebCore/platform/graphics/FloatRect.h
@@ -51,6 +51,10 @@ QT_END_NAMESPACE
class wxRect2DDouble;
#endif
+#if PLATFORM(HAIKU)
+class BRect;
+#endif
+
#if (PLATFORM(SKIA) || PLATFORM(SGL))
struct SkRect;
#endif
@@ -138,6 +142,11 @@ public:
operator wxRect2DDouble() const;
#endif
+#if PLATFORM(HAIKU)
+ FloatRect(const BRect&);
+ operator BRect() const;
+#endif
+
#if (PLATFORM(SKIA) || PLATFORM(SGL))
FloatRect(const SkRect&);
operator SkRect() const;