Chromium Code Reviews

Unified Diff: Source/core/inspector/InspectorProfilerAgent.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.
Jump to:
View side-by-side diff with in-line comments
Index: Source/core/inspector/InspectorProfilerAgent.h
diff --git a/Source/core/inspector/InspectorProfilerAgent.h b/Source/core/inspector/InspectorProfilerAgent.h
index bc51c7a1bb3b7243c735a6cba0d3140326469061..4ab6f81d09723d5cbf61a6363cefc6eac339aff1 100644
--- a/Source/core/inspector/InspectorProfilerAgent.h
+++ b/Source/core/inspector/InspectorProfilerAgent.h
@@ -57,6 +57,7 @@ class InspectorProfilerAgent FINAL : public InspectorBaseAgent<InspectorProfiler
public:
static PassOwnPtrWillBeRawPtr<InspectorProfilerAgent> create(InjectedScriptManager*, InspectorOverlay*);
virtual ~InspectorProfilerAgent();
+ virtual void trace(Visitor*) OVERRIDE;
void consoleProfile(const String& title, ScriptState*);
void consoleProfileEnd(const String& title, ScriptState*);
@@ -83,8 +84,7 @@ private:
void stop(ErrorString*, RefPtr<TypeBuilder::Profiler::CPUProfile>*);
String nextProfileId();
- // FIXME: Oilpan: Move InjectedScriptManager to heap in follow-up CL.
- InjectedScriptManager* m_injectedScriptManager;
+ RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager;
InspectorFrontend::Profiler* m_frontend;
bool m_recordingCPUProfile;
class ProfileDescriptor;

Powered by Google App Engine