Index: Source/bindings/v8/V8ErrorHandler.h |
diff --git a/Source/bindings/v8/V8ErrorHandler.h b/Source/bindings/v8/V8ErrorHandler.h |
index 74882d38d48e63343fb8582060b854e3d407cb8a..2b5489a18744a23dab1b6b41950e3b3d13666bfc 100644 |
--- a/Source/bindings/v8/V8ErrorHandler.h |
+++ b/Source/bindings/v8/V8ErrorHandler.h |
@@ -42,15 +42,15 @@ class LocalFrame; |
class V8ErrorHandler FINAL : public V8EventListener { |
public: |
- static PassRefPtr<V8ErrorHandler> create(v8::Local<v8::Object> listener, bool isInline, v8::Isolate* isolate) |
+ static PassRefPtr<V8ErrorHandler> create(v8::Local<v8::Object> listener, bool isInline, ScriptState* scriptState) |
{ |
- return adoptRef(new V8ErrorHandler(listener, isInline, isolate)); |
+ return adoptRef(new V8ErrorHandler(listener, isInline, scriptState)); |
} |
static void storeExceptionOnErrorEventWrapper(ErrorEvent*, v8::Handle<v8::Value>, v8::Isolate*); |
private: |
- V8ErrorHandler(v8::Local<v8::Object> listener, bool isInline, v8::Isolate*); |
+ V8ErrorHandler(v8::Local<v8::Object> listener, bool isInline, ScriptState*); |
virtual v8::Local<v8::Value> callListenerFunction(ExecutionContext*, v8::Handle<v8::Value> jsEvent, Event*) OVERRIDE; |
virtual bool shouldPreventDefault(v8::Local<v8::Value> returnValue) OVERRIDE; |