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

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

Issue 466753002: DevTools: Do not push to frontend messages from worker while it is alive (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix test Created 6 years, 4 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
« no previous file with comments | « Source/core/frame/FrameConsole.h ('k') | Source/core/inspector/ConsoleMessage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameConsole.cpp
diff --git a/Source/core/frame/FrameConsole.cpp b/Source/core/frame/FrameConsole.cpp
index 193fb709ed2146b3bab04e26355ea041ae749bcb..28dc4d3da49113cd0162f15067ff2b393264a289 100644
--- a/Source/core/frame/FrameConsole.cpp
+++ b/Source/core/frame/FrameConsole.cpp
@@ -37,6 +37,7 @@
#include "core/page/Chrome.h"
#include "core/page/ChromeClient.h"
#include "core/page/Page.h"
+#include "core/workers/WorkerGlobalScopeProxy.h"
#include "wtf/text/StringBuilder.h"
namespace blink {
@@ -111,4 +112,9 @@ void FrameConsole::unmute()
muteCount--;
}
+void FrameConsole::adoptWorkerConsoleMessages(WorkerGlobalScopeProxy* proxy)
+{
+ InspectorInstrumentation::adoptWorkerConsoleMessages(m_frame.document(), proxy);
+}
+
} // namespace blink
« no previous file with comments | « Source/core/frame/FrameConsole.h ('k') | Source/core/inspector/ConsoleMessage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698