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

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

Issue 1943733002: Typed CSSOM: Rename LengthValue parse, fromValue and fromDictionary to 'from'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix webexposed test 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/LengthValue.h
diff --git a/third_party/WebKit/Source/core/css/cssom/LengthValue.h b/third_party/WebKit/Source/core/css/cssom/LengthValue.h
index 9232d6ac1d7e5445f955df5a4d829391b35fbe0d..7e17460f33bf34a013710470f698072ab80d74be 100644
--- a/third_party/WebKit/Source/core/css/cssom/LengthValue.h
+++ b/third_party/WebKit/Source/core/css/cssom/LengthValue.h
@@ -25,9 +25,9 @@ public:
virtual bool containsPercent() const = 0;
- static LengthValue* parse(const String& cssString, ExceptionState&);
- static LengthValue* fromValue(double value, const String& typeStr, ExceptionState&);
- static LengthValue* fromDictionary(const CalcDictionary&, ExceptionState&);
+ static LengthValue* from(const String& cssString, ExceptionState&);
+ static LengthValue* from(double value, const String& typeStr, ExceptionState&);
+ static LengthValue* from(const CalcDictionary&, ExceptionState&);
protected:
LengthValue() {}

Powered by Google App Engine
This is Rietveld 408576698