Index: Source/core/animation/PropertyHandle.h |
diff --git a/Source/core/animation/PropertyHandle.h b/Source/core/animation/PropertyHandle.h |
index 08b6da3e6d81842420fa51923b564709ca0f393d..bb6b501c918275a154de5f0c0ba4ee06d84d3ff0 100644 |
--- a/Source/core/animation/PropertyHandle.h |
+++ b/Source/core/animation/PropertyHandle.h |
@@ -8,10 +8,12 @@ |
#include "core/CSSPropertyNames.h" |
#include "core/CoreExport.h" |
#include "core/dom/QualifiedName.h" |
+#include "wtf/Allocator.h" |
namespace blink { |
class CORE_EXPORT PropertyHandle { |
+ ALLOW_ONLY_INLINE_ALLOCATION(); |
public: |
explicit PropertyHandle(CSSPropertyID property) |
: handleType(HandleCSSProperty) |
@@ -72,6 +74,7 @@ namespace WTF { |
template<> struct DefaultHash<blink::PropertyHandle> { |
struct Hash { |
+ STATIC_ONLY(Hash); |
static unsigned hash(const blink::PropertyHandle& handle) { return handle.hash(); } |
static bool equal(const blink::PropertyHandle& a, const blink::PropertyHandle& b) { return a == b; } |