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

Unified Diff: third_party/WebKit/Source/core/inspector/ConsoleMessageStorage.cpp

Issue 1774323002: [DevTools] Remove extra plumbing from InspectorWorkerAgent, prepare to multi-client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed leaks Created 4 years, 9 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/ConsoleMessageStorage.cpp
diff --git a/third_party/WebKit/Source/core/inspector/ConsoleMessageStorage.cpp b/third_party/WebKit/Source/core/inspector/ConsoleMessageStorage.cpp
index 46cab5965115bbdcc3bc8258d0b6b7b8690525a3..327c361ceb88f23b90b333496ac006f1ab952c6a 100644
--- a/third_party/WebKit/Source/core/inspector/ConsoleMessageStorage.cpp
+++ b/third_party/WebKit/Source/core/inspector/ConsoleMessageStorage.cpp
@@ -51,11 +51,11 @@ Vector<unsigned> ConsoleMessageStorage::argumentCounts() const
return result;
}
-void ConsoleMessageStorage::adoptWorkerMessagesAfterTermination(WorkerGlobalScopeProxy* workerGlobalScopeProxy)
+void ConsoleMessageStorage::adoptWorkerMessagesAfterTermination(WorkerInspectorProxy* workerInspectorProxy)
{
for (size_t i = 0; i < m_messages.size(); ++i) {
- if (m_messages[i]->workerGlobalScopeProxy() == workerGlobalScopeProxy)
- m_messages[i]->setWorkerGlobalScopeProxy(nullptr);
+ if (m_messages[i]->workerInspectorProxy() == workerInspectorProxy)
+ m_messages[i]->setWorkerInspectorProxy(nullptr);
}
}

Powered by Google App Engine
This is Rietveld 408576698