Index: third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp b/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp |
index 687ba7ea4e08e5fd507fb48d00b86e54d6c37d5e..e8c6b9cef55f53c4aa83f7746b3183af946e3c21 100644 |
--- a/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp |
+++ b/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp |
@@ -123,6 +123,11 @@ void MainThreadDebugger::contextWillBeDestroyed(ScriptState* scriptState) |
debugger()->contextDestroyed(scriptState->context()); |
} |
+void MainThreadDebugger::exceptionThrown(LocalFrame* frame, const String& errorMessage, std::unique_ptr<SourceLocation> location) |
+{ |
+ debugger()->exceptionThrown(contextGroupId(frame), errorMessage, location->url(), location->lineNumber(), location->columnNumber(), location->cloneStackTrace(), location->scriptId()); |
+} |
+ |
int MainThreadDebugger::contextGroupId(LocalFrame* frame) |
{ |
LocalFrame* localFrameRoot = frame->localFrameRoot(); |