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

Unified Diff: Source/bindings/v8/V8EventListenerList.cpp

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.h ('k') | Source/bindings/v8/V8WorkerGlobalScopeEventListener.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/V8EventListenerList.cpp
diff --git a/Source/bindings/v8/V8EventListenerList.cpp b/Source/bindings/v8/V8EventListenerList.cpp
index 23565caa42e4a519dc886ce066651f5d4a72a343..3acff6ef3ec35fa783b1ddee2fbd502bf310d5d5 100644
--- a/Source/bindings/v8/V8EventListenerList.cpp
+++ b/Source/bindings/v8/V8EventListenerList.cpp
@@ -45,8 +45,8 @@ PassRefPtr<EventListener> V8EventListenerList::getEventListener(v8::Local<v8::Va
if (lookup == ListenerFindOnly)
return V8EventListenerList::findWrapper(value, isAttribute);
if (V8DOMWrapper::isWrapperOfType(toInnerGlobalObject(context), &V8Window::info))
- return V8EventListenerList::findOrCreateWrapper<V8EventListener>(value, isAttribute);
- return V8EventListenerList::findOrCreateWrapper<V8WorkerGlobalScopeEventListener>(value, isAttribute);
+ return V8EventListenerList::findOrCreateWrapper<V8EventListener>(value, isAttribute, context->GetIsolate());
+ return V8EventListenerList::findOrCreateWrapper<V8WorkerGlobalScopeEventListener>(value, isAttribute, context->GetIsolate());
}
} // namespace WebCore
« no previous file with comments | « Source/bindings/v8/V8EventListenerList.h ('k') | Source/bindings/v8/V8WorkerGlobalScopeEventListener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698