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

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

Issue 1949343002: [Obsolete] Typed CSSOM: Prefix LengthValue, CalcLength and SimpleLength with "CSS" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename layout test files 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/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;
};

Powered by Google App Engine
This is Rietveld 408576698