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

Unified Diff: Source/bindings/core/v8/V8ErrorHandler.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/V8ErrorHandler.h
diff --git a/Source/bindings/core/v8/V8ErrorHandler.h b/Source/bindings/core/v8/V8ErrorHandler.h
index 8c886626e8fb80aefd2342d37d9e3a4c7a2de0e6..9909776c65889f0cd42fbd041735513de04ff2ee 100644
--- a/Source/bindings/core/v8/V8ErrorHandler.h
+++ b/Source/bindings/core/v8/V8ErrorHandler.h
@@ -45,13 +45,11 @@ public:
{
return adoptRef(new V8ErrorHandler(listener, isInline, scriptState));
}
-
static void storeExceptionOnErrorEventWrapper(v8::Isolate*, ErrorEvent*, v8::Handle<v8::Value>, v8::Handle<v8::Object> creationContext);
private:
V8ErrorHandler(v8::Local<v8::Object> listener, bool isInline, ScriptState*);
-
- virtual v8::Local<v8::Value> callListenerFunction(v8::Handle<v8::Value> jsEvent, Event*) override;
+ virtual v8::Local<v8::Value> callListenerFunction(ScriptState*, v8::Handle<v8::Value>, Event*) override;
virtual bool shouldPreventDefault(v8::Local<v8::Value> returnValue) override;
};

Powered by Google App Engine
This is Rietveld 408576698