Index: Source/core/inspector/InspectorPageAgent.h |
diff --git a/Source/core/inspector/InspectorPageAgent.h b/Source/core/inspector/InspectorPageAgent.h |
index 92a174a1c19acef70395f912e3e9cd04e7e2f9ce..37a2bf9b5105033f25407e064d10bd2871dccd7e 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); |
@@ -163,6 +163,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); |
@@ -177,7 +179,7 @@ private: |
PassRefPtr<TypeBuilder::Page::Frame> buildObjectForFrame(LocalFrame*); |
PassRefPtr<TypeBuilder::Page::FrameResourceTree> buildObjectForFrameTree(LocalFrame*); |
- Page* m_page; |
+ RawPtrWillBeMember<Page> m_page; |
InjectedScriptManager* m_injectedScriptManager; |
InspectorClient* m_client; |
InspectorFrontend::Page* m_frontend; |