Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(641)

Unified Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 2170263002: [DevTools] Pass error object when reporting exceptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 c2d02197b1328c8cb0d5e974fd28805256301c87..cb37b57a33737baaadd9808f1f6d6c0b888d9d60 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -2895,9 +2895,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(m_frame.get(), event);
}
void Document::setURL(const KURL& url)

Powered by Google App Engine
This is Rietveld 408576698