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

Unified Diff: components/sync/syncable/on_disk_directory_backing_store.cc

Issue 2287783002: Remove stl_util's STLValueDeleter. (Closed)
Patch Set: rebase 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 | « components/sync/syncable/directory_backing_store_unittest.cc ('k') | net/spdy/http2_write_scheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/syncable/on_disk_directory_backing_store.cc
diff --git a/components/sync/syncable/on_disk_directory_backing_store.cc b/components/sync/syncable/on_disk_directory_backing_store.cc
index c307b9d12a5d2d221f1ce717800e6879240616b0..4f2b1dc724b764771fc7c05c7a7fec152bfe6cbd 100644
--- a/components/sync/syncable/on_disk_directory_backing_store.cc
+++ b/components/sync/syncable/on_disk_directory_backing_store.cc
@@ -77,7 +77,7 @@ DirOpenResult OnDiskDirectoryBackingStore::Load(
// The fallback: delete the current database and return a fresh one. We can
// fetch the user's data from the cloud.
- base::STLDeleteValues(handles_map);
+ handles_map->clear();
base::STLDeleteElements(delete_journals);
ResetAndCreateConnection();
« no previous file with comments | « components/sync/syncable/directory_backing_store_unittest.cc ('k') | net/spdy/http2_write_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698