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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.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/V8DOMConfiguration.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.h b/third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.h
index e4c44e62260695ecb5b8fdd66ea8a5b2f2801fc1..33c97d7c6acfb4839694d8c3b44d8d57ffde8d20 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.h
@@ -37,7 +37,7 @@
namespace blink {
class CORE_EXPORT V8DOMConfiguration final {
- DISALLOW_ALLOCATION();
+ DISALLOW_NEW();
WTF_MAKE_NONCOPYABLE(V8DOMConfiguration);
public:
// The following Configuration structs and install methods are used for
@@ -67,7 +67,7 @@ public:
// the instance or the prototype ObjectTemplate, based on |instanceOrPrototypeConfiguration|.
struct AttributeConfiguration {
AttributeConfiguration& operator=(const AttributeConfiguration&) = delete;
- DISALLOW_ALLOCATION();
+ DISALLOW_NEW();
const char* const name;
v8::AccessorNameGetterCallback getter;
v8::AccessorNameSetterCallback setter;
@@ -89,7 +89,7 @@ public:
// on prototype ObjectTemplate.
struct AccessorConfiguration {
AccessorConfiguration& operator=(const AccessorConfiguration&) = delete;
- DISALLOW_ALLOCATION();
+ DISALLOW_NEW();
const char* const name;
v8::FunctionCallback getter;
v8::FunctionCallback setter;
@@ -123,7 +123,7 @@ public:
// the ObjectTemplate. PropertyAttributes is always ReadOnly.
struct ConstantConfiguration {
ConstantConfiguration& operator=(const ConstantConfiguration&) = delete;
- DISALLOW_ALLOCATION();
+ DISALLOW_NEW();
const char* const name;
int ivalue;
double dvalue;
@@ -149,7 +149,7 @@ public:
// the ObjectTemplate.
struct MethodConfiguration {
MethodConfiguration& operator=(const MethodConfiguration&) = delete;
- DISALLOW_ALLOCATION();
+ DISALLOW_NEW();
v8::Local<v8::Name> methodName(v8::Isolate* isolate) const { return v8AtomicString(isolate, name); }
v8::FunctionCallback callbackForWorld(const DOMWrapperWorld& world) const
{
@@ -167,7 +167,7 @@ public:
struct SymbolKeyedMethodConfiguration {
SymbolKeyedMethodConfiguration& operator=(const SymbolKeyedMethodConfiguration&) = delete;
- DISALLOW_ALLOCATION();
+ DISALLOW_NEW();
v8::Local<v8::Name> methodName(v8::Isolate* isolate) const { return getSymbol(isolate); }
v8::FunctionCallback callbackForWorld(const DOMWrapperWorld&) const
{

Powered by Google App Engine
This is Rietveld 408576698