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

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

Issue 2292393004: Remove stl_util from sync. (Closed)
Patch Set: rebase 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: 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 4f2b1dc724b764771fc7c05c7a7fec152bfe6cbd..ba2e5d89ac2f04c909be458090c55e3408c7597b 100644
--- a/components/sync/syncable/on_disk_directory_backing_store.cc
+++ b/components/sync/syncable/on_disk_directory_backing_store.cc
@@ -6,8 +6,6 @@
#include "base/logging.h"
#include "base/metrics/histogram_macros.h"
-#include "base/stl_util.h"
-#include "components/sync/syncable/syncable-inl.h"
namespace syncer {
namespace syncable {
@@ -78,7 +76,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.
handles_map->clear();
- base::STLDeleteElements(delete_journals);
+ delete_journals->clear();
ResetAndCreateConnection();

Powered by Google App Engine
This is Rietveld 408576698