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

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

Issue 415043003: Oilpan: Prepare moving InspectorFrontendHost 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
Index: Source/core/inspector/InspectorFrontendHost.h
diff --git a/Source/core/inspector/InspectorFrontendHost.h b/Source/core/inspector/InspectorFrontendHost.h
index e59a858245d77b5d8fc3af604c4c00de8a48803c..e85cd1a18465f4d0207c7d1def8815859dfe81ba 100644
--- a/Source/core/inspector/InspectorFrontendHost.h
+++ b/Source/core/inspector/InspectorFrontendHost.h
@@ -42,14 +42,15 @@ class FrontendMenuProvider;
class InspectorFrontendClient;
class Page;
-class InspectorFrontendHost : public RefCounted<InspectorFrontendHost>, public ScriptWrappable {
+class InspectorFrontendHost : public RefCountedWillBeGarbageCollectedFinalized<InspectorFrontendHost>, public ScriptWrappable {
public:
- static PassRefPtr<InspectorFrontendHost> create(InspectorFrontendClient* client, Page* frontendPage)
+ static PassRefPtrWillBeRawPtr<InspectorFrontendHost> create(InspectorFrontendClient* client, Page* frontendPage)
{
- return adoptRef(new InspectorFrontendHost(client, frontendPage));
+ return adoptRefWillBeNoop(new InspectorFrontendHost(client, frontendPage));
}
~InspectorFrontendHost();
+ void trace(Visitor*);
void disconnectClient();
void setZoomFactor(float);
@@ -78,7 +79,7 @@ private:
InspectorFrontendHost(InspectorFrontendClient* client, Page* frontendPage);
InspectorFrontendClient* m_client;
- Page* m_frontendPage;
+ RawPtrWillBeMember<Page> m_frontendPage;
FrontendMenuProvider* m_menuProvider;
};
« no previous file with comments | « no previous file | Source/core/inspector/InspectorFrontendHost.cpp » ('j') | Source/web/InspectorFrontendClientImpl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698