| Index: Source/bindings/v8/V8ThrowException.h
|
| diff --git a/Source/bindings/v8/V8ThrowException.h b/Source/bindings/v8/V8ThrowException.h
|
| index bfb3315ecc2a659a5ffccd70c0f09d9cd4afd0ab..c37e87e022a60ef7ad0ac0023363a9435dda41a1 100644
|
| --- a/Source/bindings/v8/V8ThrowException.h
|
| +++ b/Source/bindings/v8/V8ThrowException.h
|
| @@ -39,7 +39,11 @@ enum V8ErrorType {
|
|
|
| class V8ThrowException {
|
| public:
|
| - static v8::Handle<v8::Value> setDOMException(int, v8::Isolate*);
|
| + static v8::Handle<v8::Value> setDOMException(int ec, v8::Isolate* isolate)
|
| + {
|
| + return setDOMException(ec, 0, isolate);
|
| + }
|
| + static v8::Handle<v8::Value> setDOMException(int, const char*, v8::Isolate*);
|
|
|
| static v8::Handle<v8::Value> throwError(V8ErrorType, const char*, v8::Isolate* = 0);
|
| static v8::Handle<v8::Value> throwError(v8::Handle<v8::Value>, v8::Isolate* = 0);
|
|
|