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

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

Issue 2312293003: [CSSTypedOM] Computed StylePropertyMap use ComputedStyle for Lengths (Closed)
Patch Set: rebase Created 4 years, 2 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 680718b63e009e5bf74437b33796760870c3b301..f4b845e85ac875b615fd383e9fc5dc21d7c884aa 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSCalcLength.h
+++ b/third_party/WebKit/Source/core/css/cssom/CSSCalcLength.h
@@ -24,6 +24,8 @@ class CORE_EXPORT CSSCalcLength final : public CSSLengthValue {
}
static CSSCalcLength* fromCSSValue(const CSSPrimitiveValue&);
+ static CSSCalcLength* fromLength(const Length&);
+
#define GETTER_MACRO(name, type) \
double name(bool& isNull) { \
isNull = !hasAtIndex(indexForUnit(type)); \

Powered by Google App Engine
This is Rietveld 408576698