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

Unified Diff: chrome/browser/ui/app_list/app_list_syncable_service.h

Issue 2318303002: Remove stl_util's STLDeleteContainerPairSecondPointers. (Closed)
Patch Set: fix 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
Index: chrome/browser/ui/app_list/app_list_syncable_service.h
diff --git a/chrome/browser/ui/app_list/app_list_syncable_service.h b/chrome/browser/ui/app_list/app_list_syncable_service.h
index 6359b30f767ad4dbcdf550bd3074161db849b413..d7dd10b58bae2dd8fef727f7cbac0d548320df2b 100644
--- a/chrome/browser/ui/app_list/app_list_syncable_service.h
+++ b/chrome/browser/ui/app_list/app_list_syncable_service.h
@@ -74,7 +74,7 @@ class AppListSyncableService : public syncer::SyncableService,
virtual ~Observer() = default;
};
- using SyncItemMap = std::map<std::string, SyncItem*>;
+ using SyncItemMap = std::map<std::string, std::unique_ptr<SyncItem>>;
// Populates the model when |extension_system| is ready.
AppListSyncableService(Profile* profile,

Powered by Google App Engine
This is Rietveld 408576698