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

Unified Diff: third_party/WebKit/Source/core/css/CSSPrimitiveValue.h

Issue 1938343002: Generate a series of nested switch statements to parse CSSPrimitiveValue units. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/CSSPrimitiveValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.h b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.h
index 8e22b0a09bbfacfb8899ed75b9bf907cb6c5ac1b..8b081c90f05a4734bf550944388f96c588d932df 100644
--- a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.h
+++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.h
@@ -158,10 +158,6 @@ public:
static UnitCategory unitTypeToUnitCategory(UnitType);
static float clampToCSSLengthRange(double);
- static void initUnitTable();
-
- static UnitType fromName(const String& unit);
-
bool isAngle() const
{
return type() == UnitType::Degrees

Powered by Google App Engine
This is Rietveld 408576698