summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/platform/transforms/TransformationMatrix.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/platform/transforms/TransformationMatrix.h')
-rw-r--r--chromium/third_party/WebKit/Source/platform/transforms/TransformationMatrix.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chromium/third_party/WebKit/Source/platform/transforms/TransformationMatrix.h b/chromium/third_party/WebKit/Source/platform/transforms/TransformationMatrix.h
index fe06f4114b8..654df9f5295 100644
--- a/chromium/third_party/WebKit/Source/platform/transforms/TransformationMatrix.h
+++ b/chromium/third_party/WebKit/Source/platform/transforms/TransformationMatrix.h
@@ -41,7 +41,7 @@ class IntRect;
class LayoutRect;
class FloatRect;
class FloatQuad;
-
+class FloatBox;
#if CPU(X86_64)
#define TRANSFORMATION_MATRIX_USE_X86_64_SSE2
#endif
@@ -152,6 +152,8 @@ public:
// while sanitizing values created when the w component is negative.
LayoutRect clampedBoundsOfProjectedQuad(const FloatQuad&) const;
+ void transformBox(FloatBox&) const;
+
double m11() const { return m_matrix[0][0]; }
void setM11(double f) { m_matrix[0][0] = f; }
double m12() const { return m_matrix[0][1]; }