Index: Source/core/inspector/InspectorDOMStorageAgent.h |
diff --git a/Source/core/inspector/InspectorDOMStorageAgent.h b/Source/core/inspector/InspectorDOMStorageAgent.h |
index 1d213f45e33aa00e265ffe5ae7c709dba70ba60f..bd441c328be31ea5e9f9944210699f694b9150cc 100644 |
--- a/Source/core/inspector/InspectorDOMStorageAgent.h |
+++ b/Source/core/inspector/InspectorDOMStorageAgent.h |
@@ -48,11 +48,12 @@ typedef String ErrorString; |
class InspectorDOMStorageAgent FINAL : public InspectorBaseAgent<InspectorDOMStorageAgent>, public InspectorBackendDispatcher::DOMStorageCommandHandler { |
public: |
- static PassOwnPtr<InspectorDOMStorageAgent> create(InspectorPageAgent* pageAgent) |
+ static PassOwnPtrWillBeRawPtr<InspectorDOMStorageAgent> create(InspectorPageAgent* pageAgent) |
{ |
- return adoptPtr(new InspectorDOMStorageAgent(pageAgent)); |
+ return adoptPtrWillBeNoop(new InspectorDOMStorageAgent(pageAgent)); |
} |
virtual ~InspectorDOMStorageAgent(); |
+ virtual void trace(Visitor*) OVERRIDE; |
virtual void setFrontend(InspectorFrontend*) OVERRIDE; |
virtual void clearFrontend() OVERRIDE; |
@@ -76,7 +77,7 @@ private: |
PassOwnPtrWillBeRawPtr<StorageArea> findStorageArea(ErrorString*, const RefPtr<JSONObject>&, LocalFrame*&); |
PassRefPtr<TypeBuilder::DOMStorage::StorageId> storageId(SecurityOrigin*, bool isLocalStorage); |
- InspectorPageAgent* m_pageAgent; |
+ RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; |
InspectorFrontend* m_frontend; |
}; |