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

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

Issue 306053010: Tried using CrossThreadPersistent for workerDebuggerAgents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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;
};
« no previous file with comments | « Source/modules/webdatabase/DatabaseClient.cpp ('k') | Source/modules/webdatabase/InspectorDatabaseAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698