summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/IntSize.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/IntSize.h')
-rw-r--r--WebCore/platform/graphics/IntSize.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/IntSize.h b/WebCore/platform/graphics/IntSize.h
index dc7a85d..e80b0fa 100644
--- a/WebCore/platform/graphics/IntSize.h
+++ b/WebCore/platform/graphics/IntSize.h
@@ -47,6 +47,8 @@ typedef struct tagSIZE SIZE;
QT_BEGIN_NAMESPACE
class QSize;
QT_END_NAMESPACE
+#elif PLATFORM(HAIKU)
+class BSize;
#endif
namespace WebCore {
@@ -113,6 +115,11 @@ public:
operator QSize() const;
#endif
+#if PLATFORM(HAIKU)
+ explicit IntSize(const BSize&);
+ operator BSize() const;
+#endif
+
private:
int m_width, m_height;