Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(374)

Unified Diff: third_party/WebKit/Source/core/css/cssom/CSSPositionValue.h

Issue 1997503003: Typed CSSOM: Rename LengthValue to CSSLengthValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/cssom/CSSPositionValue.h
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSPositionValue.h b/third_party/WebKit/Source/core/css/cssom/CSSPositionValue.h
index a388aa6f950291ef4e67a06a0d8bf96365eb9198..3925dd555e58e9ae22525557f2d905ffb615374d 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSPositionValue.h
+++ b/third_party/WebKit/Source/core/css/cssom/CSSPositionValue.h
@@ -11,20 +11,20 @@
namespace blink {
-class LengthValue;
+class CSSLengthValue;
class CORE_EXPORT CSSPositionValue final : public StyleValue {
WTF_MAKE_NONCOPYABLE(CSSPositionValue);
DEFINE_WRAPPERTYPEINFO();
public:
- static CSSPositionValue* create(const LengthValue* x, const LengthValue* y)
+ static CSSPositionValue* create(const CSSLengthValue* x, const CSSLengthValue* y)
{
return new CSSPositionValue(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:
- CSSPositionValue(const LengthValue* x, const LengthValue* y)
+ CSSPositionValue(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;
};

Powered by Google App Engine
This is Rietveld 408576698