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

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

Issue 1602843003: Update StyleValue.cssString() to use existing methods instead of rolling our own. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert TransformValue.html Created 4 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/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 f3c0326e5d39de47b812c0429d587cbc8bbd6163..24847ec8efee02b63b56b2432147e1d2829cdbe8 100644
--- a/third_party/WebKit/Source/core/css/cssom/LengthValue.h
+++ b/third_party/WebKit/Source/core/css/cssom/LengthValue.h
@@ -50,7 +50,8 @@ protected:
LengthValue() {}
static LengthUnit lengthUnitFromName(const String&);
- static const String& lengthTypeToString(LengthUnit type);
+ static const String& lengthTypeToString(LengthUnit);
+ static CSSPrimitiveValue::UnitType lengthTypeToPrimitiveType(LengthUnit);
virtual LengthValue* addInternal(const LengthValue* other, ExceptionState&);
virtual LengthValue* subtractInternal(const LengthValue* other, ExceptionState&);
« no previous file with comments | « third_party/WebKit/Source/core/css/cssom/KeywordValue.cpp ('k') | third_party/WebKit/Source/core/css/cssom/LengthValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698