| Index: third_party/WebKit/Source/bindings/core/v8/ExceptionState.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h b/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h
|
| index fd45146001944ae4560b538156ddf3ed3fc795a5..c1628c187509d3eb8bfa7b874dca565552f371bb 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h
|
| @@ -104,6 +104,12 @@ class CORE_EXPORT ExceptionState {
|
| }
|
| }
|
|
|
| + void throwDOMException(ExceptionCode, const char* message);
|
| + void throwRangeError(const char* message);
|
| + void throwSecurityError(const char* sanitizedMessage,
|
| + const char* unsanitizedMessage = nullptr);
|
| + void throwTypeError(const char* message);
|
| +
|
| virtual void throwDOMException(ExceptionCode, const String& message);
|
| virtual void throwRangeError(const String& message);
|
| virtual void throwSecurityError(const String& sanitizedMessage,
|
|
|