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

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, 5 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
« no previous file with comments | « Source/core/inspector/InspectorMemoryAgent.h ('k') | Source/core/inspector/InspectorPageAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorPageAgent.h
diff --git a/Source/core/inspector/InspectorPageAgent.h b/Source/core/inspector/InspectorPageAgent.h
index 50417e33007f1d65b205466f35456013dbaf4aa3..d343a4dd9c1ce75f61fdee6af3b92e25e27db7b7 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);
@@ -170,6 +170,8 @@ public:
void addEditedResourceContent(const String& url, const String& content);
bool getEditedResourceContent(const String& url, String* content);
+ virtual void trace(Visitor*) OVERRIDE;
+
private:
class GetResourceContentLoadListener;
@@ -188,7 +190,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;
« no previous file with comments | « Source/core/inspector/InspectorMemoryAgent.h ('k') | Source/core/inspector/InspectorPageAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698