Index: content/browser/indexed_db/indexed_db_dispatcher_host.h |
diff --git a/content/browser/indexed_db/indexed_db_dispatcher_host.h b/content/browser/indexed_db/indexed_db_dispatcher_host.h |
index e5d7b8d983a2ce09be18c0a14a2a83ceb5e43534..7de7042eb54172dfd8ce7010b55b5b63e8abed0b 100644 |
--- a/content/browser/indexed_db/indexed_db_dispatcher_host.h |
+++ b/content/browser/indexed_db/indexed_db_dispatcher_host.h |
@@ -126,7 +126,7 @@ class IndexedDBDispatcherHost |
~RefIDMap() {} |
KeyType Add(RefCountedType* data) { |
- return map_.Add(new scoped_refptr<RefCountedType>(data)); |
+ return map_.Add(base::MakeUnique<scoped_refptr<RefCountedType>>(data)); |
} |
RefCountedType* Lookup(KeyType id) { |