Index: third_party/WebKit/Source/bindings/core/v8/ScriptPromise.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptPromise.h b/third_party/WebKit/Source/bindings/core/v8/ScriptPromise.h |
index 4349ac2bbc1cfb76673a777b2b650b4a3da5159d..acb8121736f0e35bfc2dcf3c0f89dde218af9d39 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptPromise.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptPromise.h |
@@ -50,7 +50,7 @@ class DOMException; |
// memory leaks since it has a reference from C++ to V8. |
// |
class CORE_EXPORT ScriptPromise final { |
- ALLOW_ONLY_INLINE_ALLOCATION(); |
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
public: |
// Constructs an empty promise. |
ScriptPromise(); |
@@ -142,7 +142,7 @@ public: |
// This is a utility class intended to be used internally. |
// ScriptPromiseResolver is for general purpose. |
class CORE_EXPORT InternalResolver final { |
- DISALLOW_ALLOCATION(); |
+ DISALLOW_NEW(); |
public: |
explicit InternalResolver(ScriptState*); |
v8::Local<v8::Promise> v8Promise() const; |