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

Unified Diff: third_party/WebKit/Source/core/testing/NullExecutionContext.h

Issue 2170263002: [DevTools] Pass error object when reporting exceptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: worklets! 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/testing/NullExecutionContext.h
diff --git a/third_party/WebKit/Source/core/testing/NullExecutionContext.h b/third_party/WebKit/Source/core/testing/NullExecutionContext.h
index 4440dbcfbd462cd8a8357aeeac122f9851953606..b00f2e73182e8aacbbf21d5a308211dcfe047eda 100644
--- a/third_party/WebKit/Source/core/testing/NullExecutionContext.h
+++ b/third_party/WebKit/Source/core/testing/NullExecutionContext.h
@@ -37,7 +37,7 @@ public:
DOMTimerCoordinator* timers() override { return nullptr; }
void addConsoleMessage(ConsoleMessage*) override { }
- void exceptionThrown(const String& errorMessage, std::unique_ptr<SourceLocation>) override { }
+ void exceptionThrown(ErrorEvent*) override { }
void setIsSecureContext(bool);
bool isSecureContext(String& errorMessage, const SecureContextCheck = StandardSecureContextCheck) const override;

Powered by Google App Engine
This is Rietveld 408576698