Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Unified Diff: Source/bindings/core/v8/V8EventListener.h

Issue 823263002: ScriptState used by EventListener::handleEvent() is wrong (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/bindings/core/v8/V8EventListener.h
diff --git a/Source/bindings/core/v8/V8EventListener.h b/Source/bindings/core/v8/V8EventListener.h
index cde134c563893a7c87f23518bcb7332626cb851b..99af611646b7423d548fac53dd9a059a030a7310 100644
--- a/Source/bindings/core/v8/V8EventListener.h
+++ b/Source/bindings/core/v8/V8EventListener.h
@@ -50,10 +50,8 @@ public:
protected:
V8EventListener(v8::Local<v8::Object> listener, bool isAttribute, ScriptState*);
-
- v8::Local<v8::Function> getListenerFunction(ExecutionContext*);
-
- virtual v8::Local<v8::Value> callListenerFunction(v8::Handle<v8::Value> jsEvent, Event*) override;
+ v8::Local<v8::Function> getListenerFunction(ScriptState*);
+ virtual v8::Local<v8::Value> callListenerFunction(ScriptState*, v8::Handle<v8::Value>, Event*) override;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698