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

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

Issue 1590193002: Partial implementation of inline StylePropertyMap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@maps
Patch Set: Remove spurious file Created 4 years, 9 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..6fff666c5c14968a69013b6559aa87003eb50446 100644
--- a/third_party/WebKit/Source/core/css/cssom/LengthValue.h
+++ b/third_party/WebKit/Source/core/css/cssom/LengthValue.h
@@ -30,6 +30,8 @@ public:
static LengthValue* fromDictionary(const CalcDictionary&, ExceptionState&);
protected:
+ static const int kNumSupportedUnits = 15;
Timothy Loh 2016/03/23 03:45:09 Unrelated, leave this out of the patch.
meade_UTC10 2016/03/29 06:27:37 I don't remember what I was doing here :o removed
+
LengthValue() {}
virtual LengthValue* addInternal(const LengthValue* other, ExceptionState&);
@@ -43,8 +45,6 @@ protected:
&& unit != CSSPrimitiveValue::UnitType::QuirkyEms
&& unit != CSSPrimitiveValue::UnitType::UserUnits;
}
-
- static const int kNumSupportedUnits = 15;
};
DEFINE_TYPE_CASTS(LengthValue, StyleValue, value,

Powered by Google App Engine
This is Rietveld 408576698