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

Unified Diff: third_party/WebKit/Source/core/inspector/MainThreadDebugger.h

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/inspector/MainThreadDebugger.h
diff --git a/third_party/WebKit/Source/core/inspector/MainThreadDebugger.h b/third_party/WebKit/Source/core/inspector/MainThreadDebugger.h
index c4a15b843676001d79fa251b703f1b508cd0a8be..be8363099c68d94a359155f946f17a7fd51a9635 100644
--- a/third_party/WebKit/Source/core/inspector/MainThreadDebugger.h
+++ b/third_party/WebKit/Source/core/inspector/MainThreadDebugger.h
@@ -42,6 +42,7 @@
namespace blink {
class ConsoleMessage;
+class ErrorEvent;
class LocalFrame;
class SecurityOrigin;
class SourceLocation;
@@ -75,7 +76,7 @@ public:
void didClearContextsForFrame(LocalFrame*);
void contextCreated(ScriptState*, LocalFrame*, SecurityOrigin*);
void contextWillBeDestroyed(ScriptState*);
- void exceptionThrown(LocalFrame*, const String& errorMessage, std::unique_ptr<SourceLocation>);
+ void exceptionThrown(LocalFrame*, ErrorEvent*);
void installAdditionalCommandLineAPI(v8::Local<v8::Context>, v8::Local<v8::Object>) override;

Powered by Google App Engine
This is Rietveld 408576698