| Index: Source/core/inspector/InspectorDebuggerAgent.h
|
| diff --git a/Source/core/inspector/InspectorDebuggerAgent.h b/Source/core/inspector/InspectorDebuggerAgent.h
|
| index 8071de6db68393acacc5fd1bd5dc3ac69a5a03db..776945faed891d481cc0d70ea7c558e15ab26bc9 100644
|
| --- a/Source/core/inspector/InspectorDebuggerAgent.h
|
| +++ b/Source/core/inspector/InspectorDebuggerAgent.h
|
| @@ -72,7 +72,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,
|
| @@ -83,6 +84,7 @@ public:
|
| static const char backtraceObjectGroup[];
|
|
|
| virtual ~InspectorDebuggerAgent();
|
| + virtual void trace(Visitor*);
|
|
|
| virtual void canSetScriptSource(ErrorString*, bool* result) OVERRIDE FINAL { *result = true; }
|
|
|
| @@ -162,7 +164,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;
|
| @@ -227,6 +229,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;
|
| @@ -240,7 +243,7 @@ private:
|
| bool m_javaScriptPauseScheduled;
|
| bool m_debuggerStepScheduled;
|
| bool m_pausingOnNativeEvent;
|
| - Listener* m_listener;
|
| + RawPtrWillBeMember<Listener> m_listener;
|
|
|
| int m_skippedStepInCount;
|
| int m_minFrameCountForSkip;
|
|
|