Index: Source/core/inspector/InspectorPageAgent.h |
diff --git a/Source/core/inspector/InspectorPageAgent.h b/Source/core/inspector/InspectorPageAgent.h |
index 4211d39e21ea2ae07b330c0ef47ec3b0c2c18254..0f303d5cec2737b13bdf864ad4d4c5434f5e1270 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); |
@@ -165,6 +165,8 @@ public: |
static DocumentLoader* assertDocumentLoader(ErrorString*, LocalFrame*); |
InspectorResourceContentLoader* resourceContentLoader() { return m_inspectorResourceContentLoader.get(); } |
+ virtual void trace(Visitor*) OVERRIDE; |
+ |
private: |
static void resourceContent(ErrorString*, LocalFrame*, const KURL&, String* result, bool* base64Encoded); |
@@ -179,7 +181,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; |