| Index: Source/bindings/core/v8/V8EventListenerList.h
|
| diff --git a/Source/bindings/core/v8/V8EventListenerList.h b/Source/bindings/core/v8/V8EventListenerList.h
|
| index 9271197dc36c3377201e9baec05f7798788bc34e..596ad8b4ec475916c3728a24822f982ea5474ac5 100644
|
| --- a/Source/bindings/core/v8/V8EventListenerList.h
|
| +++ b/Source/bindings/core/v8/V8EventListenerList.h
|
| @@ -89,9 +89,7 @@ PassRefPtr<V8EventListener> V8EventListenerList::findOrCreateWrapper(v8::Local<v
|
| {
|
| v8::Isolate* isolate = scriptState->isolate();
|
| ASSERT(isolate->InContext());
|
| - if (!value->IsObject()
|
| - // Non-callable attribute setter input is treated as null (no wrapper)
|
| - || (isAttribute && !value->IsFunction()))
|
| + if (!value->IsObject())
|
| return nullptr;
|
|
|
| v8::Local<v8::Object> object = v8::Local<v8::Object>::Cast(value);
|
|
|