diff options
Diffstat (limited to 'src/3rdparty/webkit/Source/WebCore/platform/graphics/IntSize.h')
-rw-r--r-- | src/3rdparty/webkit/Source/WebCore/platform/graphics/IntSize.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/3rdparty/webkit/Source/WebCore/platform/graphics/IntSize.h b/src/3rdparty/webkit/Source/WebCore/platform/graphics/IntSize.h index 8cfabf513c..db4e54c526 100644 --- a/src/3rdparty/webkit/Source/WebCore/platform/graphics/IntSize.h +++ b/src/3rdparty/webkit/Source/WebCore/platform/graphics/IntSize.h @@ -30,7 +30,7 @@ typedef struct CGSize CGSize; #endif -#if PLATFORM(MAC) +#if PLATFORM(MAC) || (PLATFORM(QT) && USE(QTKIT)) #ifdef NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES typedef struct CGSize NSSize; #else @@ -114,7 +114,7 @@ public: operator CGSize() const; #endif -#if PLATFORM(MAC) && !defined(NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES) +#if (PLATFORM(MAC) || (PLATFORM(QT) && USE(QTKIT))) && !defined(NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES) explicit IntSize(const NSSize &); // don't do this implicitly since it's lossy operator NSSize() const; #endif |