| Index: Source/bindings/core/v8/V8PersistentValueVector.h
|
| diff --git a/Source/bindings/core/v8/V8PersistentValueVector.h b/Source/bindings/core/v8/V8PersistentValueVector.h
|
| index 01dd34d3a6bfe0cfa0eda730e20ed3df79de008a..be71875098c1f7ee06bed237697c7646a0e3dad0 100644
|
| --- a/Source/bindings/core/v8/V8PersistentValueVector.h
|
| +++ b/Source/bindings/core/v8/V8PersistentValueVector.h
|
| @@ -31,6 +31,7 @@
|
| #ifndef V8PersistentValueVector_h
|
| #define V8PersistentValueVector_h
|
|
|
| +#include "wtf/Allocator.h"
|
| #include "wtf/Vector.h"
|
| #include <v8-util.h>
|
| #include <v8.h>
|
| @@ -38,6 +39,7 @@
|
| namespace blink {
|
|
|
| class WTFVectorPersistentValueVectorTraits {
|
| + STATIC_ONLY(WTFVectorPersistentValueVectorTraits);
|
| public:
|
| typedef Vector<v8::PersistentContainerValue> Impl;
|
| static void Append(Impl* impl, v8::PersistentContainerValue value)
|
| @@ -68,6 +70,7 @@ public:
|
|
|
| template<class ValueType>
|
| class V8PersistentValueVector : public v8::PersistentValueVector<ValueType, WTFVectorPersistentValueVectorTraits> {
|
| + DISALLOW_ALLOCATION();
|
| public:
|
| explicit V8PersistentValueVector(v8::Isolate* isolate) : v8::PersistentValueVector<ValueType, WTFVectorPersistentValueVectorTraits>(isolate) { }
|
| };
|
|
|