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

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: Address vsevik's comments 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
Index: Source/core/frame/FrameConsole.cpp
diff --git a/Source/core/frame/FrameConsole.cpp b/Source/core/frame/FrameConsole.cpp
index 193fb709ed2146b3bab04e26355ea041ae749bcb..a978cea281188067d87a90b57b9ace8f2ed7b673 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::workerGlobalScopeTerminated(WorkerGlobalScopeProxy* proxy)
+{
+ InspectorInstrumentation::notifyWorkerGlobalScopeTerminated(m_frame.document(), proxy);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698