Index: third_party/WebKit/Source/build/scripts/make_css_property_names.py |
diff --git a/third_party/WebKit/Source/build/scripts/make_css_property_names.py b/third_party/WebKit/Source/build/scripts/make_css_property_names.py |
index 4b3ad32f9579f269990fb27c62017b2463573257..e32dc5f682ec57857b5377e715ae9de30937f352 100755 |
--- a/third_party/WebKit/Source/build/scripts/make_css_property_names.py |
+++ b/third_party/WebKit/Source/build/scripts/make_css_property_names.py |
@@ -15,10 +15,8 @@ HEADER_TEMPLATE = """ |
#define %(class_name)s_h |
#include "core/CoreExport.h" |
-#include "core/css/parser/CSSParserMode.h" |
-#include "wtf/HashFunctions.h" |
-#include "wtf/HashTraits.h" |
-#include <string.h> |
+#include "wtf/Assertions.h" |
+#include <stddef.h> |
namespace WTF { |
class AtomicString; |
@@ -65,15 +63,6 @@ CSSPropertyID CORE_EXPORT cssPropertyID(const WTF::String&); |
} // namespace blink |
-namespace WTF { |
-template<> struct DefaultHash<blink::CSSPropertyID> { typedef IntHash<unsigned> Hash; }; |
-template<> struct HashTraits<blink::CSSPropertyID> : GenericHashTraits<blink::CSSPropertyID> { |
- static const bool emptyValueIsZero = true; |
- static void constructDeletedValue(blink::CSSPropertyID& slot, bool) { slot = static_cast<blink::CSSPropertyID>(blink::lastUnresolvedCSSProperty + 1); } |
- static bool isDeletedValue(blink::CSSPropertyID value) { return value == (blink::lastUnresolvedCSSProperty + 1); } |
-}; |
-} |
- |
#endif // %(class_name)s_h |
""" |