Index: Source/bindings/core/v8/ScriptValueSerializer.h |
diff --git a/Source/bindings/core/v8/ScriptValueSerializer.h b/Source/bindings/core/v8/ScriptValueSerializer.h |
index f34986b724d0637f1efa689f6ab69375a85d931b..e16b14ab85980835ca9e01b7c94a111660e408d5 100644 |
--- a/Source/bindings/core/v8/ScriptValueSerializer.h |
+++ b/Source/bindings/core/v8/ScriptValueSerializer.h |
@@ -36,6 +36,7 @@ typedef Vector<WTF::ArrayBufferContents, 1> ArrayBufferContentsArray; |
// map.set(obj, 42); |
template<typename GCObject, typename T> |
class V8ObjectMap { |
+ STACK_ALLOCATED(); |
public: |
bool contains(const v8::Local<GCObject>& handle) |
{ |
@@ -86,6 +87,7 @@ private: |
} |
// For HashArg. |
static const bool safeToCompareToEmptyOrDeleted = false; |
+ STATIC_ONLY(V8HandlePtrHash); |
}; |
typedef WTF::HashMap<GCObject*, T, V8HandlePtrHash<GCObject>> HandleToT; |
@@ -209,6 +211,7 @@ public: |
protected: |
class StateBase { |
+ WTF_MAKE_FAST_ALLOCATED(StateBase); |
WTF_MAKE_NONCOPYABLE(StateBase); |
public: |
virtual ~StateBase() { } |