Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(948)

Unified Diff: Source/core/inspector/InspectorPageAgent.h

Issue 307943002: Oilpan: Prepare moving InspectorController and InspectorAgents to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/inspector/InspectorPageAgent.h
diff --git a/Source/core/inspector/InspectorPageAgent.h b/Source/core/inspector/InspectorPageAgent.h
index 97820c8725114f3aad59b4bd7f89de9938fc5f2c..603e0190d506969314922a6312eb79757f64c936 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,7 @@ private:
PassRefPtr<TypeBuilder::Page::Frame> buildObjectForFrame(LocalFrame*);
PassRefPtr<TypeBuilder::Page::FrameResourceTree> buildObjectForFrameTree(LocalFrame*);
- Page* m_page;
+ RawPtrWillBeMember<Page> m_page;
InjectedScriptManager* m_injectedScriptManager;
keishi 2014/06/11 14:10:55 SAFE: InjectedScriptManager is owned by InspectorC
InspectorClient* m_client;
keishi 2014/06/11 14:10:55 SAFE: InspectorClient is WebViewImpl.
InspectorFrontend::Page* m_frontend;
keishi 2014/06/11 14:10:55 SAFE: InspectorFrontend::Page is part of Inspector

Powered by Google App Engine
This is Rietveld 408576698