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

Unified Diff: chrome/renderer/spellchecker/custom_dictionary_engine.h

Issue 15940004: Add HasWord(string) method to SpellcheckCustomDictionary (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Attempt to fix android compile again Created 7 years, 7 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: chrome/renderer/spellchecker/custom_dictionary_engine.h
diff --git a/chrome/renderer/spellchecker/custom_dictionary_engine.h b/chrome/renderer/spellchecker/custom_dictionary_engine.h
index d2dc8caebf76c84525e108b864771eb70df7f939..db2650f7289a691115bb59cf69d27b52ed63a550 100644
--- a/chrome/renderer/spellchecker/custom_dictionary_engine.h
+++ b/chrome/renderer/spellchecker/custom_dictionary_engine.h
@@ -20,7 +20,7 @@ class CustomDictionaryEngine {
~CustomDictionaryEngine();
// Initialize the custom dictionary engine.
- void Init(const std::vector<std::string>& words);
+ void Init(const std::set<std::string>& words);
// Spellcheck |text|. Assumes that another spelling engine has set
// |misspelling_start| and |misspelling_len| to indicate a misspelling.

Powered by Google App Engine
This is Rietveld 408576698