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..ad79801a909db619315e95e7ac1339a8bd879dd7 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::exceptionUnhandled(LocalFrame* frame, const String& errorMessage, std::unique_ptr<SourceLocation> location) |
+{ |
+ debugger()->exceptionUnhandled(contextGroupId(frame), errorMessage, location->url(), location->lineNumber(), location->columnNumber(), location->cloneStackTrace(), location->scriptId()); |
+} |
+ |
int MainThreadDebugger::contextGroupId(LocalFrame* frame) |
{ |
LocalFrame* localFrameRoot = frame->localFrameRoot(); |