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

Unified Diff: Source/modules/webdatabase/InspectorDatabaseResource.h

Issue 205853002: Oilpan: Prepare to move InspectorDatabaseResource to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/modules/webdatabase/InspectorDatabaseResource.h
diff --git a/Source/modules/webdatabase/InspectorDatabaseResource.h b/Source/modules/webdatabase/InspectorDatabaseResource.h
index d482decc798de01d29b1b7847bde96f538f6a1c4..6c5681f07fe5321ab4fb2c5fbdea83cd853c709b 100644
--- a/Source/modules/webdatabase/InspectorDatabaseResource.h
+++ b/Source/modules/webdatabase/InspectorDatabaseResource.h
@@ -42,9 +42,10 @@ namespace WebCore {
class Database;
class InspectorFrontend;
-class InspectorDatabaseResource : public RefCounted<InspectorDatabaseResource> {
+class InspectorDatabaseResource : public RefCountedWillBeGarbageCollected<InspectorDatabaseResource> {
haraken 2014/03/20 04:42:58 This should be RefCountedWillBeGarbageCollectedFin
tkent 2014/03/20 05:07:57 Done.
public:
- static PassRefPtr<InspectorDatabaseResource> create(PassRefPtrWillBeRawPtr<Database>, const String& domain, const String& name, const String& version);
+ static PassRefPtrWillBeRawPtr<InspectorDatabaseResource> create(PassRefPtrWillBeRawPtr<Database>, const String& domain, const String& name, const String& version);
+ void trace(Visitor*);
void bind(InspectorFrontend::Database*);
Database* database() { return m_database.get(); }
@@ -54,7 +55,7 @@ public:
private:
InspectorDatabaseResource(PassRefPtrWillBeRawPtr<Database>, const String& domain, const String& name, const String& version);
- RefPtrWillBePersistent<Database> m_database;
+ RefPtrWillBeMember<Database> m_database;
String m_id;
String m_domain;
String m_name;

Powered by Google App Engine
This is Rietveld 408576698