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

Unified Diff: third_party/WebKit/Source/core/frame/FrameConsole.cpp

Issue 2878933003: Makes WorkerInspectorProxy work with ExecutionContext instead of Document (Closed)
Patch Set: . Created 3 years, 7 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/frame/FrameConsole.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameConsole.cpp b/third_party/WebKit/Source/core/frame/FrameConsole.cpp
index c08b1dc8643d6835bc78945d8922ded801fd4d91..3a3de1c7b1e0733dc82c799def61eec84aac9bef 100644
--- a/third_party/WebKit/Source/core/frame/FrameConsole.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameConsole.cpp
@@ -105,16 +105,6 @@ void FrameConsole::ReportMessageToClient(MessageSource source,
frame_, source, level, message, location->LineNumber(), url, stack_trace);
}
-void FrameConsole::AddMessageFromWorker(
- MessageLevel level,
- const String& message,
- std::unique_ptr<SourceLocation> location,
- const String& worker_id) {
- ReportMessageToClient(kWorkerMessageSource, level, message, location.get());
- AddMessageToStorage(ConsoleMessage::CreateFromWorker(
- level, message, std::move(location), worker_id));
-}
-
void FrameConsole::AddSingletonMessage(ConsoleMessage* console_message) {
if (singleton_messages_.Contains(console_message->Message()))
return;

Powered by Google App Engine
This is Rietveld 408576698