| Index: Source/bindings/v8/V8ThrowException.h
|
| diff --git a/Source/bindings/v8/V8ThrowException.h b/Source/bindings/v8/V8ThrowException.h
|
| index 1f4deb222810e942338b2f17a3f300555472d003..1b9f36ef22fd7e8f8a5baa1215b3f4f0794ec31b 100644
|
| --- a/Source/bindings/v8/V8ThrowException.h
|
| +++ b/Source/bindings/v8/V8ThrowException.h
|
| @@ -43,23 +43,23 @@ public:
|
|
|
| static v8::Handle<v8::Value> createDOMException(int ec, v8::Isolate* isolate)
|
| {
|
| - return createDOMException(ec, String(), isolate);
|
| + return createDOMException(ec, String(), v8::Handle<v8::Object>(), isolate);
|
| }
|
| - static v8::Handle<v8::Value> createDOMException(int ec, const String& message, v8::Isolate* isolate)
|
| + static v8::Handle<v8::Value> createDOMException(int ec, const String& message, const v8::Handle<v8::Object>& creationContext, v8::Isolate* isolate)
|
| {
|
| - return createDOMException(ec, message, String(), isolate);
|
| + return createDOMException(ec, message, String(), creationContext, isolate);
|
| }
|
| - static v8::Handle<v8::Value> createDOMException(int, const String& sanitizedMessage, const String& unsanitizedMessage, v8::Isolate*);
|
| + static v8::Handle<v8::Value> createDOMException(int, const String& sanitizedMessage, const String& unsanitizedMessage, const v8::Handle<v8::Object>& creationContext, v8::Isolate*);
|
|
|
| - static v8::Handle<v8::Value> throwDOMException(int ec, v8::Isolate* isolate)
|
| + static v8::Handle<v8::Value> throwDOMException(int ec, const v8::Handle<v8::Object>& creationContext, v8::Isolate* isolate)
|
| {
|
| - return throwDOMException(ec, String(), isolate);
|
| + return throwDOMException(ec, String(), creationContext, isolate);
|
| }
|
| - static v8::Handle<v8::Value> throwDOMException(int ec, const String& message, v8::Isolate* isolate)
|
| + static v8::Handle<v8::Value> throwDOMException(int ec, const String& message, const v8::Handle<v8::Object>& creationContext, v8::Isolate* isolate)
|
| {
|
| - return throwDOMException(ec, message, String(), isolate);
|
| + return throwDOMException(ec, message, String(), creationContext, isolate);
|
| }
|
| - static v8::Handle<v8::Value> throwDOMException(int, const String& sanitizedMessage, const String& unsanitizedMessage, v8::Isolate*);
|
| + static v8::Handle<v8::Value> throwDOMException(int, const String& sanitizedMessage, const String& unsanitizedMessage, const v8::Handle<v8::Object>& creationContext, v8::Isolate*);
|
|
|
| static v8::Handle<v8::Value> createError(V8ErrorType, const String&, v8::Isolate*);
|
| static v8::Handle<v8::Value> throwError(V8ErrorType, const String&, v8::Isolate*);
|
|
|