Chromium Code Reviews| 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 1f0ab6ebdb48674e6f1ff9beba316811e4f04937..d09449a838c84cb7344ed9f440388ddd234bbe1f 100644 |
| --- a/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h |
| +++ b/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h |
| @@ -84,6 +84,7 @@ public: |
| virtual void throwDOMException(const ExceptionCode&, const String& message); |
| virtual void throwTypeError(const String& message); |
| virtual void throwSecurityError(const String& sanitizedMessage, const String& unsanitizedMessage = String()); |
| + virtual void throwSyntaxError(const String& message); |
| virtual void throwRangeError(const String& message); |
| bool hadException() const { return !m_exception.isEmpty() || m_code; } |
| @@ -151,6 +152,7 @@ public: |
| void throwDOMException(const ExceptionCode&, const String& message) override; |
| void throwTypeError(const String& message = String()) override; |
| void throwSecurityError(const String& sanitizedMessage, const String& unsanitizedMessage = String()) override; |
| + void throwSyntaxError(const String& message = String()) override; |
|
Yuki
2016/05/11 01:59:02
https://engdoc.corp.google.com/eng/doc/devguide/cp
Yuki
2016/05/11 09:29:53
ping?
|
| void throwRangeError(const String& message) override; |
| }; |
| @@ -162,6 +164,7 @@ public: |
| void throwDOMException(const ExceptionCode&, const String& message) override; |
| void throwTypeError(const String& message = String()) override; |
| void throwSecurityError(const String& sanitizedMessage, const String& unsanitizedMessage = String()) override; |
| + void throwSyntaxError(const String& message = String()) override; |
|
Yuki
2016/05/11 01:59:02
Ditto.
|
| void throwRangeError(const String& message) override; |
| }; |