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

Unified Diff: third_party/WebKit/Source/core/inspector/PageConsoleAgent.h

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/PageConsoleAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/PageConsoleAgent.h b/third_party/WebKit/Source/core/inspector/PageConsoleAgent.h
index 2d863a90719338ce2c7e9c2aafca3bbc97f39bba..f61d39787984adb59c1e86f6cdbb8fc68ff7a650 100644
--- a/third_party/WebKit/Source/core/inspector/PageConsoleAgent.h
+++ b/third_party/WebKit/Source/core/inspector/PageConsoleAgent.h
@@ -58,8 +58,7 @@ public:
void disable(ErrorString*) override;
void workerTerminated(WorkerInspectorProxy*);
-
- void workerConsoleAgentEnabled(WorkerGlobalScopeProxy*);
+ void workerConsoleAgentEnabled(WorkerInspectorProxy*);
protected:
ConsoleMessageStorage* messageStorage() override;
@@ -73,7 +72,8 @@ private:
RawPtrWillBeMember<InspectorDOMAgent> m_inspectorDOMAgent;
RawPtrWillBeMember<InspectedFrames> m_inspectedFrames;
- HashSet<WorkerGlobalScopeProxy*> m_workersWithEnabledConsole;
+ using WorkerInspectorProxySet = WillBeHeapHashSet<RawPtrWillBeMember<WorkerInspectorProxy>>;
+ WorkerInspectorProxySet m_workersWithEnabledConsole;
static int s_enabledAgentCount;
};

Powered by Google App Engine
This is Rietveld 408576698