| Index: third_party/WebKit/Source/core/css/cssom/PositionValue.h
|
| diff --git a/third_party/WebKit/Source/core/css/cssom/PositionValue.h b/third_party/WebKit/Source/core/css/cssom/PositionValue.h
|
| index c4f01705af3fa1468e12d816e3714449d29f2fcc..bed9818f5394620c0b111a7df8fb0279dee3e406 100644
|
| --- a/third_party/WebKit/Source/core/css/cssom/PositionValue.h
|
| +++ b/third_party/WebKit/Source/core/css/cssom/PositionValue.h
|
| @@ -11,20 +11,20 @@
|
|
|
| namespace blink {
|
|
|
| -class LengthValue;
|
| +class CSSLengthValue;
|
|
|
| class CORE_EXPORT PositionValue final : public StyleValue {
|
| WTF_MAKE_NONCOPYABLE(PositionValue);
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| - static PositionValue* create(const LengthValue* x, const LengthValue* y)
|
| + static PositionValue* create(const CSSLengthValue* x, const CSSLengthValue* y)
|
| {
|
| return new PositionValue(x, y);
|
| }
|
|
|
| // Bindings require a non const return value.
|
| - LengthValue* x() const { return const_cast<LengthValue*>(m_x.get()); }
|
| - LengthValue* y() const { return const_cast<LengthValue*>(m_y.get()); }
|
| + CSSLengthValue* x() const { return const_cast<CSSLengthValue*>(m_x.get()); }
|
| + CSSLengthValue* y() const { return const_cast<CSSLengthValue*>(m_y.get()); }
|
|
|
| StyleValueType type() const override { return PositionType; }
|
|
|
| @@ -38,14 +38,14 @@ public:
|
| }
|
|
|
| protected:
|
| - PositionValue(const LengthValue* x, const LengthValue* y)
|
| + PositionValue(const CSSLengthValue* x, const CSSLengthValue* y)
|
| : m_x(x)
|
| , m_y(y)
|
| {
|
| }
|
|
|
| - Member<const LengthValue> m_x;
|
| - Member<const LengthValue> m_y;
|
| + Member<const CSSLengthValue> m_x;
|
| + Member<const CSSLengthValue> m_y;
|
|
|
| };
|
|
|
|
|