Index: third_party/WebKit/Source/core/css/cssom/CSSTranslation.h |
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSTranslation.h b/third_party/WebKit/Source/core/css/cssom/CSSTranslation.h |
index e5ea97f1a3ceb61a2901909e1f503daed3140335..fbdb11aaa85e237e5ec41e108e03609ffc64c4a7 100644 |
--- a/third_party/WebKit/Source/core/css/cssom/CSSTranslation.h |
+++ b/third_party/WebKit/Source/core/css/cssom/CSSTranslation.h |
@@ -18,11 +18,15 @@ class CORE_EXPORT CSSTranslation final : public TransformComponent { |
public: |
static CSSTranslation* create(CSSLengthValue* x, CSSLengthValue* y, ExceptionState&) |
{ |
+ return CSSTranslation::create(x, y); |
+ } |
+ static CSSTranslation* create(CSSLengthValue* x, CSSLengthValue* y) |
+ { |
return new CSSTranslation(x, y, nullptr); |
} |
static CSSTranslation* create(CSSLengthValue* x, CSSLengthValue* y, CSSLengthValue* z, ExceptionState&); |
- static CSSTranslation* fromCSSValue(const CSSValue& value) { return nullptr; } |
+ static CSSTranslation* fromCSSValue(const CSSValue& value); |
CSSLengthValue* x() const { return m_x; } |
CSSLengthValue* y() const { return m_y; } |