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

Unified Diff: tools/cygprofile/cygprofile.cc

Issue 2228413002: tools: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/cygprofile/cygprofile.cc
diff --git a/tools/cygprofile/cygprofile.cc b/tools/cygprofile/cygprofile.cc
index c7f12e8b49f62a76ada01584c596cdc22ab1a447..c4cb5ef45a2df855be676adfd1a8a8e7a3c75b7a 100644
--- a/tools/cygprofile/cygprofile.cc
+++ b/tools/cygprofile/cygprofile.cc
@@ -249,7 +249,7 @@ void ThreadLog::AddEntry(void* address) {
void ThreadLog::TakeEntries(std::vector<LogEntry>* destination) {
base::AutoLock auto_lock(lock_);
destination->swap(entries_);
- STLClearObject(&entries_);
+ base::STLClearObject(&entries_);
}
void ThreadLog::Flush(std::vector<LogEntry>* entries) const {
@@ -273,7 +273,7 @@ void ThreadLog::FlushInternal(std::vector<LogEntry>* entries) const {
it->time.tv_nsec / 1000, it->pid, it->tid, it->address);
}
- STLClearObject(entries);
+ base::STLClearObject(entries);
}
ThreadLogsManager::ThreadLogsManager()
@@ -297,7 +297,7 @@ ThreadLogsManager::~ThreadLogsManager() {
}
flush_thread.reset(); // Joins the flush thread.
- STLDeleteContainerPointers(logs_.begin(), logs_.end());
+ base::STLDeleteContainerPointers(logs_.begin(), logs_.end());
}
void ThreadLogsManager::AddLog(std::unique_ptr<ThreadLog> new_log) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698