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

Unified Diff: chrome/browser/supervised_user/legacy/supervised_user_sync_service.cc

Issue 2843813002: Remove SetWithoutPathExpansion (Closed)
Patch Set: Fix CrOS Error Created 3 years, 8 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: chrome/browser/supervised_user/legacy/supervised_user_sync_service.cc
diff --git a/chrome/browser/supervised_user/legacy/supervised_user_sync_service.cc b/chrome/browser/supervised_user/legacy/supervised_user_sync_service.cc
index 62b3ce4b58abb70801c3a022ea852e99d367438c..b3df0f91673c91b032021b4a7fc2d46533d17d5b 100644
--- a/chrome/browser/supervised_user/legacy/supervised_user_sync_service.cc
+++ b/chrome/browser/supervised_user/legacy/supervised_user_sync_service.cc
@@ -281,7 +281,7 @@ void SupervisedUserSyncService::UpdateSupervisedUserImpl(
DCHECK_EQ(add_user, !dict->HasKey(id));
base::DictionaryValue* entry = value.get();
- dict->SetWithoutPathExpansion(id, value.release());
+ dict->SetWithoutPathExpansion(id, std::move(value));
if (!sync_processor_)
return;

Powered by Google App Engine
This is Rietveld 408576698