| Index: Source/core/inspector/InspectorDebuggerAgent.h
|
| diff --git a/Source/core/inspector/InspectorDebuggerAgent.h b/Source/core/inspector/InspectorDebuggerAgent.h
|
| index ea959df9cf824d5a239cf2f0258c9c8353397f7f..f106bb527917876d8008bcd038b859f4fea9b26c 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;
|
| @@ -225,6 +227,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;
|
| @@ -238,7 +241,7 @@ private:
|
| bool m_javaScriptPauseScheduled;
|
| bool m_debuggerStepScheduled;
|
| bool m_pausingOnNativeEvent;
|
| - Listener* m_listener;
|
| + RawPtrWillBeMember<Listener> m_listener;
|
|
|
| int m_skippedStepInCount;
|
| int m_minFrameCountForSkip;
|
|
|