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

Unified Diff: extensions/browser/value_store/leveldb_value_store.cc

Issue 2370633002: replace deprecated version of SetWithoutPathExpansion (Closed)
Patch Set: use MakeUnique Created 4 years, 3 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 | « extensions/browser/extension_prefs.cc ('k') | extensions/browser/value_store/value_store_change.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/value_store/leveldb_value_store.cc
diff --git a/extensions/browser/value_store/leveldb_value_store.cc b/extensions/browser/value_store/leveldb_value_store.cc
index 7e8779ae232d99fb6b0866f743bf961b8b2c151a..630eb6a06019c8759e787424e7cfef74eddec345 100644
--- a/extensions/browser/value_store/leveldb_value_store.cc
+++ b/extensions/browser/value_store/leveldb_value_store.cc
@@ -88,7 +88,7 @@ ValueStore::ReadResult LeveldbValueStore::Get(
if (!status.ok())
return MakeReadResult(status);
if (setting)
- settings->SetWithoutPathExpansion(key, setting.release());
+ settings->SetWithoutPathExpansion(key, std::move(setting));
}
return MakeReadResult(std::move(settings), status);
« no previous file with comments | « extensions/browser/extension_prefs.cc ('k') | extensions/browser/value_store/value_store_change.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698