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; |
}; |