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

Unified Diff: components/spellcheck/renderer/spellcheck.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/spellcheck/renderer/spellcheck.cc
diff --git a/components/spellcheck/renderer/spellcheck.cc b/components/spellcheck/renderer/spellcheck.cc
index 8cde79e26877b6cb7d060d342471dff94e7645f9..af6603b572df4b140ebef41b086fd22e2a03671a 100644
--- a/components/spellcheck/renderer/spellcheck.cc
+++ b/components/spellcheck/renderer/spellcheck.cc
@@ -195,8 +195,8 @@ void SpellCheck::FillSuggestions(
const base::string16& suggestion = suggestions_list[language][index];
// Only add the suggestion if it's unique.
- if (!ContainsValue(*optional_suggestions, suggestion)) {
- optional_suggestions->push_back(suggestion);
+ if (!base::ContainsValue(*optional_suggestions, suggestion)) {
+ optional_suggestions->push_back(suggestion);
}
if (optional_suggestions->size() >= spellcheck::kMaxSuggestions) {
break;

Powered by Google App Engine
This is Rietveld 408576698