Index: Source/core/inspector/InspectorPageAgent.h |
diff --git a/Source/core/inspector/InspectorPageAgent.h b/Source/core/inspector/InspectorPageAgent.h |
index 26b1378039c984f859052fc664ecec6844a450fb..ca1308fa98e27a135af7d0c6bfb29238178b7620 100644 |
--- a/Source/core/inspector/InspectorPageAgent.h |
+++ b/Source/core/inspector/InspectorPageAgent.h |
@@ -76,7 +76,7 @@ public: |
OtherResource |
}; |
- static PassOwnPtr<InspectorPageAgent> create(Page*, InjectedScriptManager*, InspectorClient*, InspectorOverlay*); |
+ static PassOwnPtrWillBeRawPtr<InspectorPageAgent> create(Page*, InjectedScriptManager*, InspectorClient*, InspectorOverlay*); |
// Settings overrides. |
void setTextAutosizingEnabled(bool); |
@@ -161,6 +161,8 @@ public: |
bool deviceMetricsOverrideEnabled(); |
static DocumentLoader* assertDocumentLoader(ErrorString*, LocalFrame*); |
+ virtual void trace(Visitor*) OVERRIDE; |
+ |
private: |
static void resourceContent(ErrorString*, LocalFrame*, const KURL&, String* result, bool* base64Encoded); |
@@ -175,7 +177,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; |