| Index: Source/WebCore/platform/graphics/Color.h
|
| diff --git a/Source/WebCore/platform/graphics/Color.h b/Source/WebCore/platform/graphics/Color.h
|
| index 31b9f4aa8147d4390896f78c3d454875f186b548..a776f0322a0f6d010423023f1fa079a026648033 100644
|
| --- a/Source/WebCore/platform/graphics/Color.h
|
| +++ b/Source/WebCore/platform/graphics/Color.h
|
| @@ -36,20 +36,6 @@
|
| typedef struct CGColor* CGColorRef;
|
| #endif
|
|
|
| -#if PLATFORM(QT)
|
| -#include <qglobal.h>
|
| -QT_BEGIN_NAMESPACE
|
| -class QColor;
|
| -QT_END_NAMESPACE
|
| -#endif
|
| -
|
| -#if PLATFORM(GTK)
|
| -typedef struct _GdkColor GdkColor;
|
| -#ifndef GTK_API_VERSION_2
|
| -typedef struct _GdkRGBA GdkRGBA;
|
| -#endif
|
| -#endif
|
| -
|
| namespace WebCore {
|
|
|
| class Color;
|
| @@ -129,20 +115,6 @@ public:
|
| Color blend(const Color&) const;
|
| Color blendWithWhite() const;
|
|
|
| -#if PLATFORM(QT)
|
| - Color(const QColor&);
|
| - operator QColor() const;
|
| -#endif
|
| -
|
| -#if PLATFORM(GTK)
|
| - Color(const GdkColor&);
|
| - // We can't sensibly go back to GdkColor without losing the alpha value
|
| -#ifndef GTK_API_VERSION_2
|
| - Color(const GdkRGBA&);
|
| - operator GdkRGBA() const;
|
| -#endif
|
| -#endif
|
| -
|
| #if USE(CG)
|
| Color(CGColorRef);
|
| #endif
|
|
|