Index: third_party/WebKit/Source/bindings/core/v8/ToV8.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ToV8.h b/third_party/WebKit/Source/bindings/core/v8/ToV8.h |
index 2778de4212a55e22c3d68f1dfab16ec057df7d6b..7dcf58d1220e17511d9440643e30b0aac30e500b 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ToV8.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/ToV8.h |
@@ -174,7 +174,7 @@ inline v8::Local<v8::Value> toV8(v8::Local<v8::Value> value, v8::Local<v8::Objec |
// Undefined |
struct ToV8UndefinedGenerator { |
- DISALLOW_ALLOCATION(); |
+ DISALLOW_NEW(); |
}; // 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) |