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

Unified Diff: components/history/core/browser/history_backend.cc

Issue 2231753002: components: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: One more call site 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
Index: components/history/core/browser/history_backend.cc
diff --git a/components/history/core/browser/history_backend.cc b/components/history/core/browser/history_backend.cc
index 5b45020909da642727c1e41467677d82e7b6d674..431eb37ba7507dba003f6933a0711812f5730397 100644
--- a/components/history/core/browser/history_backend.cc
+++ b/components/history/core/browser/history_backend.cc
@@ -217,8 +217,8 @@ HistoryBackend::HistoryBackend(
HistoryBackend::~HistoryBackend() {
DCHECK(!scheduled_commit_) << "Deleting without cleanup";
- STLDeleteContainerPointers(queued_history_db_tasks_.begin(),
- queued_history_db_tasks_.end());
+ base::STLDeleteContainerPointers(queued_history_db_tasks_.begin(),
+ queued_history_db_tasks_.end());
queued_history_db_tasks_.clear();
// Release stashed embedder object before cleaning up the databases.
@@ -2243,8 +2243,8 @@ void HistoryBackend::CancelScheduledCommit() {
void HistoryBackend::ProcessDBTaskImpl() {
if (!db_) {
// db went away, release all the refs.
- STLDeleteContainerPointers(queued_history_db_tasks_.begin(),
- queued_history_db_tasks_.end());
+ base::STLDeleteContainerPointers(queued_history_db_tasks_.begin(),
+ queued_history_db_tasks_.end());
queued_history_db_tasks_.clear();
return;
}
« no previous file with comments | « components/history/core/browser/download_database.cc ('k') | components/history/core/browser/visit_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698