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

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

Issue 13529026: Removing a bunch of unused platform code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix whitespace and compiler error on Mac. 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/ImageBufferData.h » ('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 ba6bcc94a7d6bc218c3ced845cf62a39fb7b177b..e471db4c50f41ff7096c8a8232bad4b5bb395b07 100644
--- a/Source/WebCore/platform/graphics/Gradient.h
+++ b/Source/WebCore/platform/graphics/Gradient.h
@@ -42,11 +42,6 @@ typedef struct CGContext* CGContextRef;
typedef struct CGGradient* CGGradientRef;
typedef CGGradientRef PlatformGradient;
-#elif PLATFORM(QT)
-QT_BEGIN_NAMESPACE
-class QGradient;
-QT_END_NAMESPACE
-typedef QGradient* PlatformGradient;
#elif USE(SKIA)
class SkShader;
typedef class SkShader* PlatformGradient;
@@ -129,7 +124,7 @@ namespace WebCore {
float aspectRatio() const { return m_aspectRatio; }
-#if OS(WINCE) && !PLATFORM(QT)
+#if OS(WINCE)
const Vector<ColorStop, 2>& getStops() const;
#else
PlatformGradient platformGradient();
@@ -151,7 +146,7 @@ namespace WebCore {
void setSpreadMethod(GradientSpreadMethod);
GradientSpreadMethod spreadMethod() { return m_spreadMethod; }
void setGradientSpaceTransform(const AffineTransform& gradientSpaceTransformation);
- // Qt and CG transform the gradient at draw time
+ // CG transform the gradient at draw time
AffineTransform gradientSpaceTransform() { return m_gradientSpaceTransformation; }
virtual void fill(GraphicsContext*, const FloatRect&);
« no previous file with comments | « Source/WebCore/platform/graphics/GlyphBuffer.h ('k') | Source/WebCore/platform/graphics/ImageBufferData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698