Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Unified Diff: Source/WebCore/platform/graphics/Gradient.h

Issue 13724012: Remove Cairo support. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/platform/graphics/GlyphBuffer.h ('k') | Source/WebCore/platform/graphics/Gradient.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/WebCore/platform/graphics/GlyphBuffer.h ('k') | Source/WebCore/platform/graphics/Gradient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698