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

Unified Diff: components/domain_reliability/context.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/domain_reliability/context.cc
diff --git a/components/domain_reliability/context.cc b/components/domain_reliability/context.cc
index 723614a8172adc6548ff03cf3d62d88beae2c283..fc39044b5953dc2380610de6acd3af7197279759 100644
--- a/components/domain_reliability/context.cc
+++ b/components/domain_reliability/context.cc
@@ -106,7 +106,7 @@ void DomainReliabilityContext::OnBeacon(
}
void DomainReliabilityContext::ClearBeacons() {
- STLDeleteElements(&beacons_);
+ base::STLDeleteElements(&beacons_);
beacons_.clear();
uploading_beacons_size_ = 0;
}
@@ -230,7 +230,7 @@ void DomainReliabilityContext::MarkUpload() {
void DomainReliabilityContext::CommitUpload() {
auto begin = beacons_.begin();
auto end = begin + uploading_beacons_size_;
- STLDeleteContainerPointers(begin, end);
+ base::STLDeleteContainerPointers(begin, end);
beacons_.erase(begin, end);
DCHECK_NE(0u, uploading_beacons_size_);
uploading_beacons_size_ = 0;
« no previous file with comments | « components/devtools_http_handler/devtools_http_handler.cc ('k') | components/domain_reliability/dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698