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

Unified Diff: content/browser/indexed_db/leveldb/leveldb_write_batch.cc

Issue 2233153002: IndexedDB: WrapUnique(new T(args..)) -> MakeUnique<T>(args...) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « content/browser/indexed_db/leveldb/leveldb_database.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/indexed_db/leveldb/leveldb_write_batch.cc
diff --git a/content/browser/indexed_db/leveldb/leveldb_write_batch.cc b/content/browser/indexed_db/leveldb/leveldb_write_batch.cc
index 80861c46b86d14cdc23c271fa042953d2efd7922..5590ad59229763cdc35b8f50115fde05b1fc23e1 100644
--- a/content/browser/indexed_db/leveldb/leveldb_write_batch.cc
+++ b/content/browser/indexed_db/leveldb/leveldb_write_batch.cc
@@ -12,7 +12,7 @@
namespace content {
std::unique_ptr<LevelDBWriteBatch> LevelDBWriteBatch::Create() {
- return base::WrapUnique(new LevelDBWriteBatch);
+ return base::WrapUnique(new LevelDBWriteBatch());
cmumford 2016/08/10 23:03:47 It's too bad MakeUnique can't handle private metho
}
LevelDBWriteBatch::LevelDBWriteBatch()
« no previous file with comments | « content/browser/indexed_db/leveldb/leveldb_database.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698