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

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

Issue 323043002: Oilpan: Prepare moving InspectorAgent related classes to oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 6 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/InspectorHeapProfilerAgent.h
diff --git a/Source/core/inspector/InspectorHeapProfilerAgent.h b/Source/core/inspector/InspectorHeapProfilerAgent.h
index 01ee3354426a9abe55d599020991393cfdefef1c..242ec9a2e7069eedff971458afdbbf0a00f4dfba 100644
--- a/Source/core/inspector/InspectorHeapProfilerAgent.h
+++ b/Source/core/inspector/InspectorHeapProfilerAgent.h
@@ -54,6 +54,7 @@ class InspectorHeapProfilerAgent FINAL : public InspectorBaseAgent<InspectorHeap
public:
static PassOwnPtrWillBeRawPtr<InspectorHeapProfilerAgent> create(InjectedScriptManager*);
virtual ~InspectorHeapProfilerAgent();
+ virtual void trace(Visitor*) OVERRIDE;
virtual void collectGarbage(ErrorString*) OVERRIDE;
@@ -83,11 +84,10 @@ private:
void startTrackingHeapObjectsInternal(bool trackAllocations);
void stopTrackingHeapObjectsInternal();
- // FIXME: Oilpan: Move InjectedScriptManager to heap in follow-up CL.
- InjectedScriptManager* m_injectedScriptManager;
+ RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager;
InspectorFrontend::HeapProfiler* m_frontend;
unsigned m_nextUserInitiatedHeapSnapshotNumber;
- OwnPtr<HeapStatsUpdateTask> m_heapStatsUpdateTask;
+ OwnPtrWillBeMember<HeapStatsUpdateTask> m_heapStatsUpdateTask;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698