Index: Source/WebCore/platform/graphics/Gradient.h |
diff --git a/Source/WebCore/platform/graphics/Gradient.h b/Source/WebCore/platform/graphics/Gradient.h |
index a7b548885eb9b8e0260e74e1642067e2a148ea7f..e54e9a7d447b66a3fda45ef993f8046afc5ba32b 100644 |
--- a/Source/WebCore/platform/graphics/Gradient.h |
+++ b/Source/WebCore/platform/graphics/Gradient.h |
@@ -47,9 +47,6 @@ QT_BEGIN_NAMESPACE |
class QGradient; |
QT_END_NAMESPACE |
typedef QGradient* PlatformGradient; |
-#elif USE(CAIRO) |
-typedef struct _cairo_pattern cairo_pattern_t; |
-typedef cairo_pattern_t* PlatformGradient; |
#elif USE(SKIA) |
class SkShader; |
typedef class SkShader* PlatformGradient; |
@@ -171,8 +168,6 @@ namespace WebCore { |
#if USE(CG) |
void paint(CGContextRef); |
void paint(GraphicsContext*); |
-#elif USE(CAIRO) |
- PlatformGradient platformGradient(float globalAlpha); |
#endif |
private: |
@@ -201,11 +196,6 @@ namespace WebCore { |
mutable unsigned m_cachedHash; |
PlatformGradient m_gradient; |
- |
-#if USE(CAIRO) |
- float m_platformGradientAlpha; |
-#endif |
- |
}; |
} //namespace |