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

Unified Diff: Source/bindings/v8/V8WorkerGlobalScopeEventListener.h

Issue 24153010: Pass isolate to V8EventListener constructor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 3 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
« no previous file with comments | « Source/bindings/v8/V8EventListenerList.cpp ('k') | Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/V8WorkerGlobalScopeEventListener.h
diff --git a/Source/bindings/v8/V8WorkerGlobalScopeEventListener.h b/Source/bindings/v8/V8WorkerGlobalScopeEventListener.h
index 1d88e26b36d08ba60ebb0d4fef859f23bbb35239..571b70d7d107071afc4f5490e0b14ed0d0ad4d6d 100644
--- a/Source/bindings/v8/V8WorkerGlobalScopeEventListener.h
+++ b/Source/bindings/v8/V8WorkerGlobalScopeEventListener.h
@@ -41,15 +41,15 @@ namespace WebCore {
class V8WorkerGlobalScopeEventListener : public V8EventListener {
public:
- static PassRefPtr<V8WorkerGlobalScopeEventListener> create(v8::Local<v8::Object> listener, bool isInline)
+ static PassRefPtr<V8WorkerGlobalScopeEventListener> create(v8::Local<v8::Object> listener, bool isInline, v8::Isolate* isolate)
{
- return adoptRef(new V8WorkerGlobalScopeEventListener(listener, isInline));
+ return adoptRef(new V8WorkerGlobalScopeEventListener(listener, isInline, isolate));
}
virtual void handleEvent(ScriptExecutionContext*, Event*);
protected:
- V8WorkerGlobalScopeEventListener(v8::Local<v8::Object> listener, bool isInline);
+ V8WorkerGlobalScopeEventListener(v8::Local<v8::Object> listener, bool isInline, v8::Isolate*);
private:
virtual v8::Local<v8::Value> callListenerFunction(ScriptExecutionContext*, v8::Handle<v8::Value> jsEvent, Event*);
« no previous file with comments | « Source/bindings/v8/V8EventListenerList.cpp ('k') | Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698