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

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

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
Index: Source/bindings/v8/V8EventListener.h
diff --git a/Source/bindings/v8/V8EventListener.h b/Source/bindings/v8/V8EventListener.h
index 772525e9e3ff5c4f0681c94c7b4d8a0cf4c5eff1..275a1fa88c4be65661f04f223b645dc5975e95ac 100644
--- a/Source/bindings/v8/V8EventListener.h
+++ b/Source/bindings/v8/V8EventListener.h
@@ -44,13 +44,13 @@ namespace WebCore {
// that can handle the event.
class V8EventListener : public V8AbstractEventListener {
public:
- static PassRefPtr<V8EventListener> create(v8::Local<v8::Object> listener, bool isAttribute, v8::Isolate* isolate)
+ static PassRefPtr<V8EventListener> create(v8::Local<v8::Object> listener, bool isAttribute, ScriptState* scriptState)
{
- return adoptRef(new V8EventListener(listener, isAttribute, isolate));
+ return adoptRef(new V8EventListener(listener, isAttribute, scriptState));
}
protected:
- V8EventListener(v8::Local<v8::Object> listener, bool isAttribute, v8::Isolate*);
+ V8EventListener(v8::Local<v8::Object> listener, bool isAttribute, ScriptState*);
v8::Local<v8::Function> getListenerFunction(ExecutionContext*);

Powered by Google App Engine
This is Rietveld 408576698