Chromium Code Reviews| Index: Source/bindings/v8/ExceptionState.cpp |
| diff --git a/Source/bindings/v8/ExceptionState.cpp b/Source/bindings/v8/ExceptionState.cpp |
| index 10223be501609f4e46f82c060cf93c30a25b5395..9ff489d4332cd691df71aa4217a3887b42c2aba0 100644 |
| --- a/Source/bindings/v8/ExceptionState.cpp |
| +++ b/Source/bindings/v8/ExceptionState.cpp |
| @@ -80,7 +80,8 @@ void ExceptionState::throwTypeError(const String& message) |
| { |
| ASSERT(m_isolate); |
| m_code = TypeError; |
| - setException(V8ThrowException::createTypeError(message, m_isolate)); |
| + String processedMessage = addExceptionContext(message); |
|
Mike West
2013/11/29 11:28:12
Nit: I'd drop the temporary string here. You can j
sof
2013/11/29 11:36:05
Done.
|
| + setException(V8ThrowException::createTypeError(processedMessage, m_isolate)); |
| } |
| void TrackExceptionState::throwDOMException(const ExceptionCode& ec, const String& message) |