| Index: third_party/WebKit/Source/core/css/cssom/CSSPerspective.h
|
| diff --git a/third_party/WebKit/Source/core/css/cssom/CSSPerspective.h b/third_party/WebKit/Source/core/css/cssom/CSSPerspective.h
|
| index f684cfc55d87a91cbd0586d26112d439321d2ccc..eb49ef59c82cd241d9aef0a2d0e2c5a1f9da0f5b 100644
|
| --- a/third_party/WebKit/Source/core/css/cssom/CSSPerspective.h
|
| +++ b/third_party/WebKit/Source/core/css/cssom/CSSPerspective.h
|
| @@ -6,7 +6,7 @@
|
| #define CSSPerspective_h
|
|
|
| #include "core/CoreExport.h"
|
| -#include "core/css/cssom/CSSLengthValue.h"
|
| +#include "core/css/cssom/CSSNumericValue.h"
|
| #include "core/css/cssom/CSSTransformComponent.h"
|
|
|
| namespace blink {
|
| @@ -18,12 +18,12 @@ class CORE_EXPORT CSSPerspective : public CSSTransformComponent {
|
| DEFINE_WRAPPERTYPEINFO();
|
|
|
| public:
|
| - static CSSPerspective* Create(const CSSLengthValue*, ExceptionState&);
|
| + static CSSPerspective* Create(const CSSNumericValue*, ExceptionState&);
|
| static CSSPerspective* FromCSSValue(const CSSFunctionValue&);
|
|
|
| // Bindings require a non const return value.
|
| - CSSLengthValue* length() const {
|
| - return const_cast<CSSLengthValue*>(length_.Get());
|
| + CSSNumericValue* length() const {
|
| + return const_cast<CSSNumericValue*>(length_.Get());
|
| }
|
|
|
| TransformComponentType GetType() const override { return kPerspectiveType; }
|
| @@ -39,9 +39,9 @@ class CORE_EXPORT CSSPerspective : public CSSTransformComponent {
|
| }
|
|
|
| private:
|
| - CSSPerspective(const CSSLengthValue* length) : length_(length) {}
|
| + CSSPerspective(const CSSNumericValue* length) : length_(length) {}
|
|
|
| - Member<const CSSLengthValue> length_;
|
| + Member<const CSSNumericValue> length_;
|
| };
|
|
|
| } // namespace blink
|
|
|