| Index: third_party/WebKit/Source/bindings/core/v8/ExceptionState.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ExceptionState.cpp b/third_party/WebKit/Source/bindings/core/v8/ExceptionState.cpp
|
| index dc447ca2fe0cbe87fa4a66ec1de3ca7e4c104fb9..a446114b11798ba8f25ee03c6dd238db98817c89 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ExceptionState.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ExceptionState.cpp
|
| @@ -37,6 +37,23 @@
|
|
|
| namespace blink {
|
|
|
| +void ExceptionState::throwDOMException(ExceptionCode ec, const char* message) {
|
| + throwDOMException(ec, String(message));
|
| +}
|
| +
|
| +void ExceptionState::throwRangeError(const char* message) {
|
| + throwRangeError(String(message));
|
| +}
|
| +
|
| +void ExceptionState::throwSecurityError(const char* sanitizedMessage,
|
| + const char* unsanitizedMessage) {
|
| + throwSecurityError(String(sanitizedMessage), String(unsanitizedMessage));
|
| +}
|
| +
|
| +void ExceptionState::throwTypeError(const char* message) {
|
| + throwTypeError(String(message));
|
| +}
|
| +
|
| void ExceptionState::throwDOMException(ExceptionCode ec,
|
| const String& message) {
|
| // SecurityError is thrown via ::throwSecurityError, and _careful_
|
|
|