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

Unified Diff: components/invalidation/impl/sync_system_resources.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/invalidation/impl/sync_system_resources.cc
diff --git a/components/invalidation/impl/sync_system_resources.cc b/components/invalidation/impl/sync_system_resources.cc
index 1440dc303d57bdc0babe7a60137d842b9b19543a..089f7a15c9bca76e37d53b6e939153706366471b 100644
--- a/components/invalidation/impl/sync_system_resources.cc
+++ b/components/invalidation/impl/sync_system_resources.cc
@@ -93,7 +93,7 @@ void SyncInvalidationScheduler::Stop() {
is_stopped_ = true;
is_started_ = false;
weak_factory_.InvalidateWeakPtrs();
- STLDeleteElements(&posted_tasks_);
+ base::STLDeleteElements(&posted_tasks_);
}
void SyncInvalidationScheduler::Schedule(invalidation::TimeDelta delay,
@@ -139,7 +139,7 @@ SyncNetworkChannel::SyncNetworkChannel()
received_messages_count_(0) {}
SyncNetworkChannel::~SyncNetworkChannel() {
- STLDeleteElements(&network_status_receivers_);
+ base::STLDeleteElements(&network_status_receivers_);
}
void SyncNetworkChannel::SetMessageReceiver(

Powered by Google App Engine
This is Rietveld 408576698