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

Unified Diff: Source/WebCore/platform/graphics/Pattern.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/Path.cpp ('k') | Source/WebCore/platform/graphics/PlatformLayer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/graphics/Pattern.h
diff --git a/Source/WebCore/platform/graphics/Pattern.h b/Source/WebCore/platform/graphics/Pattern.h
index d7c9a7060d5b7e3791eef6b915203c075949603e..d6610b1dc502643a3e634e17a6f7221e56d32124 100644
--- a/Source/WebCore/platform/graphics/Pattern.h
+++ b/Source/WebCore/platform/graphics/Pattern.h
@@ -41,9 +41,6 @@ typedef CGPatternRef PlatformPatternPtr;
#elif USE(SKIA)
class SkShader;
typedef SkShader* PlatformPatternPtr;
-#elif PLATFORM(QT)
-#include <QBrush>
-typedef QBrush PlatformPatternPtr;
#elif OS(WINCE)
typedef void* PlatformPatternPtr;
#endif
@@ -67,9 +64,6 @@ public:
// Pattern space is an abstract space that maps to the default user space by the transformation 'userSpaceTransformation'
#if USE(SKIA)
PlatformPatternPtr platformPattern(const AffineTransform& userSpaceTransformation);
-#elif PLATFORM(QT)
- // Qt ignores user space transformation and uses pattern's instead
- PlatformPatternPtr createPlatformPattern() const;
#else
PlatformPatternPtr createPlatformPattern(const AffineTransform& userSpaceTransformation) const;
#endif
« no previous file with comments | « Source/WebCore/platform/graphics/Path.cpp ('k') | Source/WebCore/platform/graphics/PlatformLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698