| Index: third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.h b/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.h
|
| index bb3d36aafffe38cbd235ec3e6a165aa0867c1eca..fdb454f67910e54419c7ef754ca6f7b89b9c4876 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.h
|
| @@ -129,7 +129,7 @@ protected:
|
|
|
| virtual void prepareListenerObject(ExecutionContext*) { }
|
|
|
| - void setListenerObject(v8::Local<v8::Object>);
|
| + void setListenerObject(v8::Local<v8::Object>, ScriptState*);
|
|
|
| void invokeEventHandler(ScriptState*, Event*, v8::Local<v8::Value>);
|
|
|
| @@ -148,6 +148,8 @@ private:
|
|
|
| static void setWeakCallback(const v8::WeakCallbackInfo<V8AbstractEventListener>&);
|
|
|
| + // The ScriptState the m_listener below was created in.
|
| + RefPtr<ScriptState> m_scriptStateForListener;
|
| ScopedPersistent<v8::Object> m_listener;
|
|
|
| // Indicates if this is an HTML type listener.
|
|
|