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

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

Issue 2403423002: [CSSTypedOM] Computed StylePropertyMap use ComputedStyle for Lengths (Closed)
Patch Set: Use StyleValueFactory & ComputedStyleCSSValueMapping for unsupported Created 3 years, 11 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/CSSCalcLength.h
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSCalcLength.h b/third_party/WebKit/Source/core/css/cssom/CSSCalcLength.h
index 97597e29e448352e9eb092287dc039ec0ef7939f..e42f646661998c0d2433069731aa0aacc4178d34 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSCalcLength.h
+++ b/third_party/WebKit/Source/core/css/cssom/CSSCalcLength.h
@@ -55,6 +55,8 @@ class CORE_EXPORT CSSCalcLength final : public CSSLengthValue {
static CSSCalcLength* create(const CSSLengthValue*);
static CSSCalcLength* fromCSSValue(const CSSPrimitiveValue&);
+ static CSSCalcLength* fromLength(const Length&);
+
#define GETTER_MACRO(name, type) \
double name(bool& isNull) { \
isNull = !m_unitData.has(type); \

Powered by Google App Engine
This is Rietveld 408576698