Index: Source/core/inspector/InspectorPageAgent.h |
diff --git a/Source/core/inspector/InspectorPageAgent.h b/Source/core/inspector/InspectorPageAgent.h |
index ed67e0aa4d4ec4707744f73a1445e4586621b746..28986559eaa76ad477c376b439e12082eec49ead 100644 |
--- a/Source/core/inspector/InspectorPageAgent.h |
+++ b/Source/core/inspector/InspectorPageAgent.h |
@@ -78,7 +78,7 @@ public: |
OtherResource |
}; |
- static PassOwnPtr<InspectorPageAgent> create(Page*, InjectedScriptManager*, InspectorClient*, InspectorOverlay*); |
+ static PassOwnPtrWillBeRawPtr<InspectorPageAgent> create(Page*, InjectedScriptManager*, InspectorClient*, InspectorOverlay*); |
// Settings overrides. |
void setTextAutosizingEnabled(bool); |
@@ -168,6 +168,8 @@ public: |
void addEditedResourceContent(const String& url, const String& content); |
bool getEditedResourceContent(const String& url, String* content); |
+ virtual void trace(Visitor*) OVERRIDE; |
+ |
private: |
static void resourceContent(ErrorString*, LocalFrame*, const KURL&, String* result, bool* base64Encoded); |
@@ -182,7 +184,8 @@ private: |
PassRefPtr<TypeBuilder::Page::Frame> buildObjectForFrame(LocalFrame*); |
PassRefPtr<TypeBuilder::Page::FrameResourceTree> buildObjectForFrameTree(LocalFrame*); |
- Page* m_page; |
+ RawPtrWillBeMember<Page> m_page; |
+ // FIXME: Oilpan: Move InjectedScriptManager to heap in follow-up CL. |
InjectedScriptManager* m_injectedScriptManager; |
InspectorClient* m_client; |
InspectorFrontend::Page* m_frontend; |