Commit 3be2fd75 authored by tasak@google.com's avatar tasak@google.com

Delete operator= of V8DOMConfiguration structures instead of NONCOPYABLE

This is for fixing gcc builds caused by r200693.
https://src.chromium.org/viewvc/blink?view=rev&revision=200693

BUG=

Review URL: https://codereview.chromium.org/1307503002

git-svn-id: svn://svn.chromium.org/blink/trunk@200898 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 6dd786c5
......@@ -66,7 +66,7 @@ public:
// AttributeConfiguration translates into calls to SetAccessor() on either
// the instance or the prototype ObjectTemplate, based on |instanceOrPrototypeConfiguration|.
struct AttributeConfiguration {
WTF_MAKE_NONCOPYABLE(AttributeConfiguration);
AttributeConfiguration& operator=(const AttributeConfiguration&) = delete;
DISALLOW_ALLOCATION();
const char* const name;
v8::AccessorNameGetterCallback getter;
......@@ -88,7 +88,7 @@ public:
// AccessorConfiguration translates into calls to SetAccessorProperty()
// on prototype ObjectTemplate.
struct AccessorConfiguration {
WTF_MAKE_NONCOPYABLE(AccessorConfiguration);
AccessorConfiguration& operator=(const AccessorConfiguration&) = delete;
DISALLOW_ALLOCATION();
const char* const name;
v8::FunctionCallback getter;
......@@ -123,7 +123,7 @@ public:
// object's constants. It sets the constant on both the FunctionTemplate and
// the ObjectTemplate. PropertyAttributes is always ReadOnly.
struct ConstantConfiguration {
WTF_MAKE_NONCOPYABLE(ConstantConfiguration);
ConstantConfiguration& operator=(const ConstantConfiguration&) = delete;
DISALLOW_ALLOCATION();
const char* const name;
int ivalue;
......@@ -150,7 +150,7 @@ public:
// object's callbacks. It sets the method on both the FunctionTemplate or
// the ObjectTemplate.
struct MethodConfiguration {
WTF_MAKE_NONCOPYABLE(MethodConfiguration);
MethodConfiguration& operator=(const MethodConfiguration&) = delete;
DISALLOW_ALLOCATION();
v8::Local<v8::Name> methodName(v8::Isolate* isolate) const { return v8AtomicString(isolate, name); }
v8::FunctionCallback callbackForWorld(const DOMWrapperWorld& world) const
......@@ -166,7 +166,7 @@ public:
};
struct SymbolKeyedMethodConfiguration {
WTF_MAKE_NONCOPYABLE(SymbolKeyedMethodConfiguration);
SymbolKeyedMethodConfiguration& operator=(const SymbolKeyedMethodConfiguration&) = delete;
DISALLOW_ALLOCATION();
v8::Local<v8::Name> methodName(v8::Isolate* isolate) const { return getSymbol(isolate); }
v8::FunctionCallback callbackForWorld(const DOMWrapperWorld&) const
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment