Index: third_party/WebKit/Source/core/css/cssom/SkewTransformComponent.h |
diff --git a/third_party/WebKit/Source/core/css/cssom/SkewTransformComponent.h b/third_party/WebKit/Source/core/css/cssom/SkewTransformComponent.h |
index 8eb90487bcc04751bd81b3ec8e3add26bf148df2..2c0003f7c5f231c1b8f6212ac5a3b169c3a9dab6 100644 |
--- a/third_party/WebKit/Source/core/css/cssom/SkewTransformComponent.h |
+++ b/third_party/WebKit/Source/core/css/cssom/SkewTransformComponent.h |
@@ -5,6 +5,7 @@ |
#ifndef SkewTransformComponent_h |
#define SkewTransformComponent_h |
+#include "core/css/cssom/MatrixTransformComponent.h" |
#include "core/css/cssom/TransformComponent.h" |
namespace blink { |
@@ -23,6 +24,11 @@ public: |
TransformComponentType type() const override { return SkewType; } |
+ MatrixTransformComponent* asMatrix() const override |
+ { |
+ return MatrixTransformComponent::skew(m_ax, m_ay); |
+ } |
+ |
PassRefPtrWillBeRawPtr<CSSFunctionValue> toCSSValue() const override; |
private: |