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

Unified Diff: Source/modules/webdatabase/InspectorDatabaseAgent.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/modules/webdatabase/InspectorDatabaseAgent.h
diff --git a/Source/modules/webdatabase/InspectorDatabaseAgent.h b/Source/modules/webdatabase/InspectorDatabaseAgent.h
index 28cdb72c5bb17c2f193032f577d0f4a73c80d447..7781f64285f1dfdbab7c7344a3fab43f7a0e799f 100644
--- a/Source/modules/webdatabase/InspectorDatabaseAgent.h
+++ b/Source/modules/webdatabase/InspectorDatabaseAgent.h
@@ -49,11 +49,12 @@ typedef String ErrorString;
class InspectorDatabaseAgent FINAL : public InspectorBaseAgent<InspectorDatabaseAgent>, public InspectorBackendDispatcher::DatabaseCommandHandler {
public:
- static PassOwnPtr<InspectorDatabaseAgent> create()
+ static PassOwnPtrWillBeRawPtr<InspectorDatabaseAgent> create()
{
- return adoptPtr(new InspectorDatabaseAgent());
+ return adoptPtrWillBeNoop(new InspectorDatabaseAgent());
}
virtual ~InspectorDatabaseAgent();
+ virtual void trace(Visitor*) OVERRIDE;
virtual void setFrontend(InspectorFrontend*) OVERRIDE;
virtual void clearFrontend() OVERRIDE;
@@ -75,7 +76,7 @@ private:
InspectorDatabaseResource* findByFileName(const String& fileName);
InspectorFrontend::Database* m_frontend;
- typedef WillBePersistentHeapHashMap<String, RefPtrWillBeMember<InspectorDatabaseResource> > DatabaseResourcesHeapMap;
+ typedef WillBeHeapHashMap<String, RefPtrWillBeMember<InspectorDatabaseResource> > DatabaseResourcesHeapMap;
DatabaseResourcesHeapMap m_resources;
bool m_enabled;
};

Powered by Google App Engine
This is Rietveld 408576698