Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptPromise.h

Issue 1406923009: Rename DISALLOW_ALLOCATION and ALLOW_ONLY_INLINE_ALLOCATION (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/Nullable.h ('k') | third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698