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

Unified Diff: content/shell/renderer/test_runner/WebTask.cpp

Issue 373443002: Remove all uses of "using namespace std" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: adding myself in AUTHORS Created 6 years, 5 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 | « content/shell/renderer/test_runner/TestPlugin.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/WebTask.cpp
diff --git a/content/shell/renderer/test_runner/WebTask.cpp b/content/shell/renderer/test_runner/WebTask.cpp
index 43302e68a30bc6052fa29ea6d9e5bc5a81cd6cb2..5c8ba267ff8130945bfb1d4f5ddee94a8e14883b 100644
--- a/content/shell/renderer/test_runner/WebTask.cpp
+++ b/content/shell/renderer/test_runner/WebTask.cpp
@@ -7,8 +7,6 @@
#include <algorithm>
#include "third_party/WebKit/public/web/WebKit.h"
-using namespace std;
-
namespace content {
WebTask::WebTask(WebTaskList* list)
@@ -39,7 +37,7 @@ void WebTaskList::registerTask(WebTask* task)
void WebTaskList::unregisterTask(WebTask* task)
{
- vector<WebTask*>::iterator iter = find(m_tasks.begin(), m_tasks.end(), task);
+ std::vector<WebTask*>::iterator iter = std::find(m_tasks.begin(), m_tasks.end(), task);
if (iter != m_tasks.end())
m_tasks.erase(iter);
}
« no previous file with comments | « content/shell/renderer/test_runner/TestPlugin.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698