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

Unified Diff: Source/WebCore/platform/graphics/transforms/TransformationMatrix.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
Index: Source/WebCore/platform/graphics/transforms/TransformationMatrix.h
diff --git a/Source/WebCore/platform/graphics/transforms/TransformationMatrix.h b/Source/WebCore/platform/graphics/transforms/TransformationMatrix.h
index f32db0f4b4e80ddfbc882a81127e15e07d1cdd29..b8f81839bb91cbd4b6381172bbb8394c52ac1063 100644
--- a/Source/WebCore/platform/graphics/transforms/TransformationMatrix.h
+++ b/Source/WebCore/platform/graphics/transforms/TransformationMatrix.h
@@ -40,16 +40,11 @@ typedef struct _CoglMatrix CoglMatrix;
#endif
#if USE(CG)
typedef struct CGAffineTransform CGAffineTransform;
-#elif PLATFORM(OPENVG)
-#include "VGUtils.h"
-#elif PLATFORM(QT)
-#include <QMatrix4x4>
-#include <QTransform>
#elif USE(SKIA)
#include <SkMatrix.h>
#endif
-#if PLATFORM(WIN) || (PLATFORM(GTK) && OS(WINDOWS)) || (PLATFORM(QT) && OS(WINDOWS))
+#if PLATFORM(WIN)
#if COMPILER(MINGW) && !COMPILER(MINGW64)
typedef struct _XFORM XFORM;
#else
@@ -95,11 +90,6 @@ public:
setMatrix(m11, m12, m13, m14, m21, m22, m23, m24, m31, m32, m33, m34, m41, m42, m43, m44);
}
-#if PLATFORM(QT)
- TransformationMatrix(const QTransform&);
- TransformationMatrix(const QMatrix4x4&);
-#endif
-
void setMatrix(double a, double b, double c, double d, double e, double f)
{
m_matrix[0][0] = a; m_matrix[0][1] = b; m_matrix[0][2] = 0; m_matrix[0][3] = 0;
@@ -343,16 +333,11 @@ public:
#if USE(CG)
TransformationMatrix(const CGAffineTransform&);
operator CGAffineTransform() const;
-#elif PLATFORM(OPENVG)
- operator VGMatrix() const;
-#elif PLATFORM(QT)
- operator QTransform() const;
- operator QMatrix4x4() const;
#elif USE(SKIA)
operator SkMatrix() const;
#endif
-#if PLATFORM(WIN) || (PLATFORM(GTK) && OS(WINDOWS)) || (PLATFORM(QT) && OS(WINDOWS))
+#if PLATFORM(WIN)
operator XFORM() const;
#endif
« no previous file with comments | « Source/WebCore/platform/graphics/transforms/AffineTransform.h ('k') | Source/WebCore/platform/image-decoders/ImageDecoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698