Index: Source/build/scripts/make_css_property_names.py |
diff --git a/Source/build/scripts/make_css_property_names.py b/Source/build/scripts/make_css_property_names.py |
index e5237c94c67b672baa6718b0993db74389924aa9..4a591d3c7a371d8485fe9a4c411f33dab183123c 100755 |
--- a/Source/build/scripts/make_css_property_names.py |
+++ b/Source/build/scripts/make_css_property_names.py |
@@ -55,6 +55,10 @@ inline CSSPropertyID resolveCSSPropertyID(CSSPropertyID id) |
inline bool isPropertyAlias(CSSPropertyID id) { return id & 512; } |
+CSSPropertyID unresolvedCSSPropertyID(const WTF::String&); |
+ |
+CSSPropertyID cssPropertyID(const WTF::String&); |
+ |
} // namespace blink |
namespace WTF { |
@@ -161,6 +165,11 @@ String getJSPropertyName(CSSPropertyID id) |
return String(result); |
} |
+CSSPropertyID cssPropertyID(const String& string) |
+{ |
+ return resolveCSSPropertyID(unresolvedCSSPropertyID(string)); |
+} |
+ |
} // namespace blink |
""" |