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

Unified Diff: content/shell/renderer/test_runner/SpellCheckClient.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
Index: content/shell/renderer/test_runner/SpellCheckClient.cpp
diff --git a/content/shell/renderer/test_runner/SpellCheckClient.cpp b/content/shell/renderer/test_runner/SpellCheckClient.cpp
index fed48838ee951344d66d561b92fa450550b27629..e4c1e650179c3f874f7aebb8471e83e7a6741a63 100644
--- a/content/shell/renderer/test_runner/SpellCheckClient.cpp
+++ b/content/shell/renderer/test_runner/SpellCheckClient.cpp
@@ -11,7 +11,6 @@
#include "third_party/WebKit/public/web/WebTextCheckingResult.h"
using namespace blink;
-using namespace std;
namespace content {
@@ -57,7 +56,7 @@ void SpellCheckClient::spellCheck(const WebString& text, int& misspelledOffset,
void SpellCheckClient::checkTextOfParagraph(const WebString& text, WebTextCheckingTypeMask mask, WebVector<WebTextCheckingResult>* webResults)
{
- vector<WebTextCheckingResult> results;
+ std::vector<WebTextCheckingResult> results;
if (mask & WebTextCheckingTypeSpelling) {
size_t offset = 0;
base::string16 data = text;
@@ -107,7 +106,7 @@ void SpellCheckClient::finishLastTextCheck()
{
if (!m_lastRequestedTextCheckingCompletion)
return;
- vector<WebTextCheckingResult> results;
+ std::vector<WebTextCheckingResult> results;
int offset = 0;
base::string16 text = m_lastRequestedTextCheckString;
if (!m_spellcheck.isMultiWordMisspelling(WebString(text), &results)) {
« no previous file with comments | « content/shell/renderer/test_runner/MockWebSpeechRecognizer.cpp ('k') | content/shell/renderer/test_runner/TestCommon.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698