| Index: Source/bindings/tests/results/V8TestObject.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestObject.cpp b/Source/bindings/tests/results/V8TestObject.cpp
|
| index b80d9ae0d88e37249bf17a0b5bd44601a732fd18..42bfade1e4d95053f5db8cd16298fedc10796a80 100644
|
| --- a/Source/bindings/tests/results/V8TestObject.cpp
|
| +++ b/Source/bindings/tests/results/V8TestObject.cpp
|
| @@ -3105,11 +3105,9 @@ static void addEventListenerMethod(const v8::FunctionCallbackInfo<v8::Value>& in
|
| es.throwIfNeeded();
|
| return;
|
| }
|
| -
|
| if (!window->document())
|
| return;
|
| }
|
| -
|
| RefPtr<EventListener> listener = V8EventListenerList::getEventListener(info[1], false, ListenerFindOrCreate);
|
| if (listener) {
|
| V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithNullCheck>, stringResource, info[0]);
|
| @@ -3135,11 +3133,9 @@ static void removeEventListenerMethod(const v8::FunctionCallbackInfo<v8::Value>&
|
| es.throwIfNeeded();
|
| return;
|
| }
|
| -
|
| if (!window->document())
|
| return;
|
| }
|
| -
|
| RefPtr<EventListener> listener = V8EventListenerList::getEventListener(info[1], false, ListenerFindOnly);
|
| if (listener) {
|
| V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithNullCheck>, stringResource, info[0]);
|
|
|