Index: Source/bindings/core/v8/ToV8.h |
diff --git a/Source/bindings/core/v8/ToV8.h b/Source/bindings/core/v8/ToV8.h |
index 480272cbe0c7910896a6e94b9099504e6a6d1e15..2778de4212a55e22c3d68f1dfab16ec057df7d6b 100644 |
--- a/Source/bindings/core/v8/ToV8.h |
+++ b/Source/bindings/core/v8/ToV8.h |
@@ -173,7 +173,9 @@ inline v8::Local<v8::Value> toV8(v8::Local<v8::Value> value, v8::Local<v8::Objec |
// Undefined |
-struct ToV8UndefinedGenerator { }; // Used only for having toV8 return v8::Undefined. |
+struct ToV8UndefinedGenerator { |
+ DISALLOW_ALLOCATION(); |
+}; // Used only for having toV8 return v8::Undefined. |
inline v8::Local<v8::Value> toV8(const ToV8UndefinedGenerator& value, v8::Local<v8::Object> creationContext, v8::Isolate* isolate) |
{ |