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

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

Issue 1590193002: Partial implementation of inline StylePropertyMap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@maps
Patch Set: Fix windows maybe Created 4 years, 10 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/KeywordValue.h
diff --git a/third_party/WebKit/Source/core/css/cssom/KeywordValue.h b/third_party/WebKit/Source/core/css/cssom/KeywordValue.h
index 3a5748ee0b0ab69f20ae363e0b817e007784d149..42f6bf9dd96d39add3dd091900054b2d6fb52bac 100644
--- a/third_party/WebKit/Source/core/css/cssom/KeywordValue.h
+++ b/third_party/WebKit/Source/core/css/cssom/KeywordValue.h
@@ -30,6 +30,10 @@ private:
String m_keywordValue;
};
+DEFINE_TYPE_CASTS(KeywordValue, StyleValue, value,
+ value->type() == StyleValue::StyleValueType::KeywordValueType,
+ value.type() == StyleValue::StyleValueType::KeywordValueType);
+
} // namespace blink
#endif

Powered by Google App Engine
This is Rietveld 408576698