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

Unified Diff: content/browser/indexed_db/indexed_db_backing_store.h

Issue 2233153002: IndexedDB: WrapUnique(new T(args..)) -> MakeUnique<T>(args...) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review feedback 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
Index: content/browser/indexed_db/indexed_db_backing_store.h
diff --git a/content/browser/indexed_db/indexed_db_backing_store.h b/content/browser/indexed_db/indexed_db_backing_store.h
index 722a1d4226079b387177ad4f5ed2054febf3b60c..4455bd835574915659265c25acc64b6be702a242 100644
--- a/content/browser/indexed_db/indexed_db_backing_store.h
+++ b/content/browser/indexed_db/indexed_db_backing_store.h
@@ -315,7 +315,7 @@ class CONTENT_EXPORT IndexedDBBackingStore
bool Advance(uint32_t count, leveldb::Status*);
bool FirstSeek(leveldb::Status*);
- virtual Cursor* Clone() = 0;
+ virtual std::unique_ptr<Cursor> Clone() const = 0;
virtual const IndexedDBKey& primary_key() const;
virtual IndexedDBValue* value() = 0;
virtual const RecordIdentifier& record_identifier() const;

Powered by Google App Engine
This is Rietveld 408576698