diff options
Diffstat (limited to 'WebCore/platform/graphics/IntSize.h')
-rw-r--r-- | WebCore/platform/graphics/IntSize.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/IntSize.h b/WebCore/platform/graphics/IntSize.h index 9ecf389..9db2224 100644 --- a/WebCore/platform/graphics/IntSize.h +++ b/WebCore/platform/graphics/IntSize.h @@ -104,6 +104,11 @@ public: *this = expandedTo(IntSize()); } + IntSize transposedSize() const + { + return IntSize(m_height, m_width); + } + #if PLATFORM(CG) explicit IntSize(const CGSize&); // don't do this implicitly since it's lossy operator CGSize() const; |