| Index: Source/core/inspector/InspectorDebuggerAgent.h
|
| diff --git a/Source/core/inspector/InspectorDebuggerAgent.h b/Source/core/inspector/InspectorDebuggerAgent.h
|
| index d3cf7d1f714ba97478b674f376d1679f9660a233..05c66b40f6a6ca789d7f53b00be0cc26231aba0c 100644
|
| --- a/Source/core/inspector/InspectorDebuggerAgent.h
|
| +++ b/Source/core/inspector/InspectorDebuggerAgent.h
|
| @@ -74,7 +74,8 @@ class XMLHttpRequest;
|
| typedef String ErrorString;
|
|
|
| class InspectorDebuggerAgent : public InspectorBaseAgent<InspectorDebuggerAgent>, public ScriptDebugListener, public InspectorBackendDispatcher::DebuggerCommandHandler {
|
| - WTF_MAKE_NONCOPYABLE(InspectorDebuggerAgent); WTF_MAKE_FAST_ALLOCATED;
|
| + WTF_MAKE_NONCOPYABLE(InspectorDebuggerAgent);
|
| + WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
|
| public:
|
| enum BreakpointSource {
|
| UserBreakpointSource,
|
| @@ -85,6 +86,7 @@ public:
|
| static const char backtraceObjectGroup[];
|
|
|
| virtual ~InspectorDebuggerAgent();
|
| + virtual void trace(Visitor*);
|
|
|
| virtual void canSetScriptSource(ErrorString*, bool* result) OVERRIDE FINAL { *result = true; }
|
|
|
| @@ -168,7 +170,7 @@ public:
|
| void breakProgram(InspectorFrontend::Debugger::Reason::Enum breakReason, PassRefPtr<JSONObject> data);
|
| void scriptExecutionBlockedByCSP(const String& directiveText);
|
|
|
| - class Listener {
|
| + class Listener : public WillBeGarbageCollectedMixin {
|
| public:
|
| virtual ~Listener() { }
|
| virtual void debuggerWasEnabled() = 0;
|
| @@ -235,6 +237,7 @@ private:
|
| typedef HashMap<String, Vector<String> > BreakpointIdToDebugServerBreakpointIdsMap;
|
| typedef HashMap<String, std::pair<String, BreakpointSource> > DebugServerBreakpointToBreakpointIdAndSourceMap;
|
|
|
| + // FIXME: Oilpan: Move InjectedScriptManager to heap in follow-up CL.
|
| InjectedScriptManager* m_injectedScriptManager;
|
| InspectorFrontend::Debugger* m_frontend;
|
| RefPtr<ScriptState> m_pausedScriptState;
|
| @@ -249,7 +252,7 @@ private:
|
| bool m_debuggerStepScheduled;
|
| bool m_steppingFromFramework;
|
| bool m_pausingOnNativeEvent;
|
| - Listener* m_listener;
|
| + RawPtrWillBeMember<Listener> m_listener;
|
|
|
| int m_skippedStepInCount;
|
| int m_minFrameCountForSkip;
|
|
|