| Index: Source/bindings/v8/V8AbstractEventListener.cpp
|
| diff --git a/Source/bindings/v8/V8AbstractEventListener.cpp b/Source/bindings/v8/V8AbstractEventListener.cpp
|
| index 678ed9fc8a83670af68db7d8c63f2cac92a41910..b2e901103317c854fefeac2d0a1b7f76766d0171 100644
|
| --- a/Source/bindings/v8/V8AbstractEventListener.cpp
|
| +++ b/Source/bindings/v8/V8AbstractEventListener.cpp
|
| @@ -58,7 +58,7 @@ V8AbstractEventListener::~V8AbstractEventListener()
|
| {
|
| if (!m_listener.isEmpty()) {
|
| v8::HandleScope scope(m_isolate);
|
| - V8EventListenerList::clearWrapper(m_listener.newLocal(m_isolate), m_isAttribute);
|
| + V8EventListenerList::clearWrapper(m_listener.newLocal(m_isolate), m_isAttribute, m_isolate);
|
| }
|
| ThreadLocalInspectorCounters::current().decrementCounter(ThreadLocalInspectorCounters::JSEventListenerCounter);
|
| }
|
| @@ -109,7 +109,7 @@ void V8AbstractEventListener::invokeEventHandler(ScriptExecutionContext* context
|
| return;
|
|
|
| // We push the event being processed into the global object, so that it can be exposed by DOMWindow's bindings.
|
| - v8::Handle<v8::String> eventSymbol = V8HiddenPropertyName::event();
|
| + v8::Handle<v8::String> eventSymbol = V8HiddenPropertyName::event(v8Context->GetIsolate());
|
| v8::Local<v8::Value> returnValue;
|
|
|
| // In beforeunload/unload handlers, we want to avoid sleeps which do tight loops of calling Date.getTime().
|
|
|