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

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

Issue 293053007: V8AbstractEventListener should hold a ScriptState (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/V8LazyEventListener.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 816594b61746eba9d22032b607286ac60f2102e8..bc72dd3b161b98180e5e9ecd4669c07da0149829 100644
--- a/Source/bindings/v8/V8EventListenerList.cpp
+++ b/Source/bindings/v8/V8EventListenerList.cpp
@@ -44,11 +44,11 @@ PassRefPtr<EventListener> V8EventListenerList::getEventListener(ScriptState* scr
// Used by EventTarget::removeEventListener, specifically
// EventTargetV8Internal::removeEventListenerMethod
ASSERT(!isAttribute);
- return V8EventListenerList::findWrapper(value, scriptState->isolate());
+ return V8EventListenerList::findWrapper(value, scriptState);
}
if (toDOMWindow(scriptState->context()))
- return V8EventListenerList::findOrCreateWrapper<V8EventListener>(value, isAttribute, scriptState->isolate());
- return V8EventListenerList::findOrCreateWrapper<V8WorkerGlobalScopeEventListener>(value, isAttribute, scriptState->isolate());
+ return V8EventListenerList::findOrCreateWrapper<V8EventListener>(value, isAttribute, scriptState);
+ return V8EventListenerList::findOrCreateWrapper<V8WorkerGlobalScopeEventListener>(value, isAttribute, scriptState);
}
} // namespace WebCore
« no previous file with comments | « Source/bindings/v8/V8EventListenerList.h ('k') | Source/bindings/v8/V8LazyEventListener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698