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

Unified Diff: Source/core/inspector/InspectorWorkerAgent.h

Issue 1253293002: Oilpan: Remove raw pointer to ExecutionContext from WorkerInspectorProxy (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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/inspector/InspectorWorkerAgent.h
diff --git a/Source/core/inspector/InspectorWorkerAgent.h b/Source/core/inspector/InspectorWorkerAgent.h
index 52e61155a949a971919bec445c2b8e54a922466d..d1285cf1e643c4fd169360bf47fbfda3745dc19d 100644
--- a/Source/core/inspector/InspectorWorkerAgent.h
+++ b/Source/core/inspector/InspectorWorkerAgent.h
@@ -48,6 +48,7 @@ class CORE_EXPORT InspectorWorkerAgent final : public InspectorBaseAgent<Inspect
public:
static PassOwnPtrWillBeRawPtr<InspectorWorkerAgent> create(PageConsoleAgent*);
~InspectorWorkerAgent() override;
+ DECLARE_TRACE();
void init() override;
void disable(ErrorString*) override;
@@ -81,7 +82,7 @@ private:
String id;
};
class WorkerAgentClient;
- typedef HashMap<String, WorkerAgentClient*> WorkerClients;
+ typedef WillBeHeapHashMap<String, OwnPtrWillBeMember<WorkerAgentClient>> WorkerClients;
WorkerClients m_idToClient;
typedef HashMap<WorkerInspectorProxy*, WorkerInfo> WorkerInfos;
WorkerInfos m_workerInfos;
« no previous file with comments | « no previous file | Source/core/inspector/InspectorWorkerAgent.cpp » ('j') | Source/core/inspector/InspectorWorkerAgent.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698