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

Unified Diff: chrome/browser/task_manager/mock_web_contents_task_manager.cc

Issue 2230203002: chrome: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed accidental components/ change 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 | « chrome/browser/sync_file_system/task_logger.cc ('k') | chrome/browser/themes/browser_theme_pack.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/task_manager/mock_web_contents_task_manager.cc
diff --git a/chrome/browser/task_manager/mock_web_contents_task_manager.cc b/chrome/browser/task_manager/mock_web_contents_task_manager.cc
index b322d1a5687b98cb93700e89120a7c1a5f97be30..612b6b291d83cd884f1a86eb837697977c1c2ae3 100644
--- a/chrome/browser/task_manager/mock_web_contents_task_manager.cc
+++ b/chrome/browser/task_manager/mock_web_contents_task_manager.cc
@@ -19,13 +19,13 @@ MockWebContentsTaskManager::~MockWebContentsTaskManager() {}
void MockWebContentsTaskManager::TaskAdded(Task* task) {
DCHECK(task);
- DCHECK(!ContainsValue(tasks_, task));
+ DCHECK(!base::ContainsValue(tasks_, task));
tasks_.push_back(task);
}
void MockWebContentsTaskManager::TaskRemoved(Task* task) {
DCHECK(task);
- DCHECK(ContainsValue(tasks_, task));
+ DCHECK(base::ContainsValue(tasks_, task));
tasks_.erase(std::find(tasks_.begin(), tasks_.end(), task));
}
« no previous file with comments | « chrome/browser/sync_file_system/task_logger.cc ('k') | chrome/browser/themes/browser_theme_pack.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698