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

Unified Diff: Source/bindings/core/v8/V8WorkerGlobalScopeEventListener.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/V8WorkerGlobalScopeEventListener.h
diff --git a/Source/bindings/core/v8/V8WorkerGlobalScopeEventListener.h b/Source/bindings/core/v8/V8WorkerGlobalScopeEventListener.h
index 6b05e975099fb28da60070431d495578338b23c5..8904e36ae7a35df490cbcf511845d1bbc440f3d4 100644
--- a/Source/bindings/core/v8/V8WorkerGlobalScopeEventListener.h
+++ b/Source/bindings/core/v8/V8WorkerGlobalScopeEventListener.h
@@ -46,14 +46,14 @@ public:
return adoptRef(new V8WorkerGlobalScopeEventListener(listener, isInline, scriptState));
}
- virtual void handleEvent(ExecutionContext*, Event*) override;
+ virtual void handleEvent(ScriptState*, Event*) override;
protected:
V8WorkerGlobalScopeEventListener(v8::Local<v8::Object> listener, bool isInline, ScriptState*);
private:
- virtual v8::Local<v8::Value> callListenerFunction(v8::Handle<v8::Value> jsEvent, Event*) override;
- v8::Local<v8::Object> getReceiverObject(Event*);
+ virtual v8::Local<v8::Value> callListenerFunction(ScriptState*, v8::Handle<v8::Value>, Event*) override;
+ v8::Local<v8::Object> getReceiverObject(ScriptState*, Event*);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698