| Index: Source/core/inspector/InspectorController.h
|
| diff --git a/Source/core/inspector/InspectorController.h b/Source/core/inspector/InspectorController.h
|
| index a99167140f23fe0657174aedbfe4c901e66b0c75..f9dc721522163076f26134fd9bb2d15e31524b95 100644
|
| --- a/Source/core/inspector/InspectorController.h
|
| +++ b/Source/core/inspector/InspectorController.h
|
| @@ -71,20 +71,21 @@ class PlatformMouseEvent;
|
| class PlatformTouchEvent;
|
| class Node;
|
|
|
| -class InspectorController {
|
| +class InspectorController : public NoBaseWillBeGarbageCollectedFinalized<InspectorController> {
|
| WTF_MAKE_NONCOPYABLE(InspectorController);
|
| - WTF_MAKE_FAST_ALLOCATED;
|
| + WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
|
| public:
|
| ~InspectorController();
|
| + void trace(Visitor*);
|
|
|
| - static PassOwnPtr<InspectorController> create(Page*, InspectorClient*);
|
| + static PassOwnPtrWillBeRawPtr<InspectorController> create(Page*, InspectorClient*);
|
|
|
| // Settings overrides.
|
| void setTextAutosizingEnabled(bool);
|
| void setDeviceScaleAdjustment(float);
|
|
|
| void willBeDestroyed();
|
| - void registerModuleAgent(PassOwnPtr<InspectorAgent>);
|
| + void registerModuleAgent(PassOwnPtrWillBeRawPtr<InspectorAgent>);
|
|
|
| void setInspectorFrontendClient(PassOwnPtr<InspectorFrontendClient>);
|
| void didClearDocumentOfWindowObject(LocalFrame*);
|
| @@ -142,23 +143,23 @@ private:
|
|
|
| friend InstrumentingAgents* instrumentationForPage(Page*);
|
|
|
| - RefPtr<InstrumentingAgents> m_instrumentingAgents;
|
| + RefPtrWillBeMember<InstrumentingAgents> m_instrumentingAgents;
|
| OwnPtr<InjectedScriptManager> m_injectedScriptManager;
|
| OwnPtr<InspectorCompositeState> m_state;
|
| OwnPtr<InspectorOverlay> m_overlay;
|
|
|
| - InspectorDOMAgent* m_domAgent;
|
| - InspectorPageAgent* m_pageAgent;
|
| - InspectorResourceAgent* m_resourceAgent;
|
| - InspectorCSSAgent* m_cssAgent;
|
| - InspectorTimelineAgent* m_timelineAgent;
|
| - InspectorLayerTreeAgent* m_layerTreeAgent;
|
| - InspectorTracingAgent* m_tracingAgent;
|
| + RawPtrWillBeMember<InspectorDOMAgent> m_domAgent;
|
| + RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
|
| + RawPtrWillBeMember<InspectorTimelineAgent> m_timelineAgent;
|
| + RawPtrWillBeMember<InspectorCSSAgent> m_cssAgent;
|
| + RawPtrWillBeMember<InspectorResourceAgent> m_resourceAgent;
|
| + RawPtrWillBeMember<InspectorLayerTreeAgent> m_layerTreeAgent;
|
| + RawPtrWillBeMember<InspectorTracingAgent> m_tracingAgent;
|
|
|
| RefPtr<InspectorBackendDispatcher> m_inspectorBackendDispatcher;
|
| OwnPtr<InspectorFrontendClient> m_inspectorFrontendClient;
|
| OwnPtr<InspectorFrontend> m_inspectorFrontend;
|
| - Page* m_page;
|
| + RawPtrWillBeMember<Page> m_page;
|
| InspectorClient* m_inspectorClient;
|
| InspectorAgentRegistry m_agents;
|
| bool m_isUnderTest;
|
|
|