Index: Source/core/inspector/InspectorProfilerAgent.h |
diff --git a/Source/core/inspector/InspectorProfilerAgent.h b/Source/core/inspector/InspectorProfilerAgent.h |
index 2e970211cc4e5008ca0b42f3aef0903657d362f5..2f6fcd8a3b311261cde94d3704060d5cdb333c4b 100644 |
--- a/Source/core/inspector/InspectorProfilerAgent.h |
+++ b/Source/core/inspector/InspectorProfilerAgent.h |
@@ -52,9 +52,10 @@ class ScriptProfile; |
typedef String ErrorString; |
class InspectorProfilerAgent FINAL : public InspectorBaseAgent<InspectorProfilerAgent>, public InspectorBackendDispatcher::ProfilerCommandHandler { |
- WTF_MAKE_NONCOPYABLE(InspectorProfilerAgent); WTF_MAKE_FAST_ALLOCATED; |
+ WTF_MAKE_NONCOPYABLE(InspectorProfilerAgent); |
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
public: |
- static PassOwnPtr<InspectorProfilerAgent> create(InjectedScriptManager*, InspectorOverlay*); |
+ static PassOwnPtrWillBeRawPtr<InspectorProfilerAgent> create(InjectedScriptManager*, InspectorOverlay*); |
virtual ~InspectorProfilerAgent(); |
void consoleProfile(const String& title, ScriptState*); |
@@ -82,6 +83,7 @@ private: |
void stop(ErrorString*, RefPtr<TypeBuilder::Profiler::CPUProfile>*); |
String nextProfileId(); |
+ // FIXME: Oilpan: Move InjectedScriptManager to heap in follow-up CL. |
InjectedScriptManager* m_injectedScriptManager; |
InspectorFrontend::Profiler* m_frontend; |
bool m_recordingCPUProfile; |