Chromium Code Reviews| Index: Source/core/inspector/InspectorResourceAgent.h |
| diff --git a/Source/core/inspector/InspectorResourceAgent.h b/Source/core/inspector/InspectorResourceAgent.h |
| index cbd98b899a922bf37040d8b440e278a139557a9c..31d02f1ee74c88b8d0d4784b0971db820687dcea 100644 |
| --- a/Source/core/inspector/InspectorResourceAgent.h |
| +++ b/Source/core/inspector/InspectorResourceAgent.h |
| @@ -73,9 +73,9 @@ typedef String ErrorString; |
| class InspectorResourceAgent FINAL : public InspectorBaseAgent<InspectorResourceAgent>, public InspectorBackendDispatcher::NetworkCommandHandler { |
| public: |
| - static PassOwnPtr<InspectorResourceAgent> create(InspectorPageAgent* pageAgent) |
| + static PassOwnPtrWillBeRawPtr<InspectorResourceAgent> create(InspectorPageAgent* pageAgent) |
| { |
| - return adoptPtr(new InspectorResourceAgent(pageAgent)); |
| + return adoptPtrWillBeNoop(new InspectorResourceAgent(pageAgent)); |
| } |
| virtual void setFrontend(InspectorFrontend*) OVERRIDE; |
| @@ -83,6 +83,7 @@ public: |
| virtual void restore() OVERRIDE; |
| virtual ~InspectorResourceAgent(); |
| + virtual void trace(Visitor*) OVERRIDE; |
| // Called from instrumentation. |
| void willSendRequest(unsigned long identifier, DocumentLoader*, ResourceRequest&, const ResourceResponse& redirectResponse, const FetchInitiatorInfo&); |
| @@ -149,7 +150,7 @@ private: |
| void enable(); |
| - InspectorPageAgent* m_pageAgent; |
| + RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; |
| InspectorFrontend::Network* m_frontend; |
|
keishi
2014/06/11 14:10:55
SAFE: InspectorFrontend::Network is owned by Inspe
|
| String m_userAgentOverride; |
| OwnPtr<NetworkResourcesData> m_resourcesData; |