Index: third_party/WebKit/Source/core/dom/Document.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp |
index 1215c23595c4478f7d675e7ed5792f2bca7767b1..73f1c21301bedf73500055e394d7bbb91b92e568 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -2896,9 +2896,9 @@ EventTarget* Document::errorEventTarget() |
return domWindow(); |
} |
-void Document::exceptionThrown(const String& errorMessage, std::unique_ptr<SourceLocation> location) |
+void Document::exceptionThrown(ErrorEvent* event) |
{ |
- MainThreadDebugger::instance()->exceptionThrown(m_frame.get(), errorMessage, std::move(location)); |
+ MainThreadDebugger::instance()->exceptionThrown(this, event); |
} |
void Document::setURL(const KURL& url) |