| Index: third_party/WebKit/Source/core/css/cssom/CSSTranslation.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/cssom/CSSTranslation.cpp b/third_party/WebKit/Source/core/css/cssom/CSSTranslation.cpp
|
| index a7d1d66f489321d4f526946045094f99ebf0cef6..1d64903e34a52be52fbbb1daedf40a1ada27fbea 100644
|
| --- a/third_party/WebKit/Source/core/css/cssom/CSSTranslation.cpp
|
| +++ b/third_party/WebKit/Source/core/css/cssom/CSSTranslation.cpp
|
| @@ -6,16 +6,17 @@
|
|
|
| #include "bindings/core/v8/ExceptionState.h"
|
| #include "core/css/CSSPrimitiveValue.h"
|
| +#include "core/css/cssom/CSSNumericValue.h"
|
|
|
| namespace blink {
|
|
|
| -CSSTranslation* CSSTranslation::Create(CSSLengthValue* x,
|
| - CSSLengthValue* y,
|
| - CSSLengthValue* z,
|
| +CSSTranslation* CSSTranslation::Create(CSSNumericValue* x,
|
| + CSSNumericValue* y,
|
| + CSSNumericValue* z,
|
| ExceptionState& exception_state) {
|
| if (z->ContainsPercent()) {
|
| exception_state.ThrowTypeError(
|
| - "CSSTranslation does not support z CSSLengthValue with percent units");
|
| + "CSSTranslation does not support z CSSNumericValue with percent units");
|
| return nullptr;
|
| }
|
| return new CSSTranslation(x, y, z);
|
|
|