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

Unified Diff: components/spellcheck/renderer/spellcheck_multilingual_unittest.cc

Issue 2791753003: Split WebTextCheckClient off WebSpellCheckClient (Closed)
Patch Set: Add TODOs for class renaming Created 3 years, 8 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 | « no previous file | components/spellcheck/renderer/spellcheck_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/spellcheck/renderer/spellcheck_multilingual_unittest.cc
diff --git a/components/spellcheck/renderer/spellcheck_multilingual_unittest.cc b/components/spellcheck/renderer/spellcheck_multilingual_unittest.cc
index b8bce0a5f1d1b980a9f58593083cf5c906c53f28..744c583c7ec16f4f8bbb19befbbb5854cb6dbf7c 100644
--- a/components/spellcheck/renderer/spellcheck_multilingual_unittest.cc
+++ b/components/spellcheck/renderer/spellcheck_multilingual_unittest.cc
@@ -81,7 +81,7 @@ class MultilingualSpellCheckTest : public testing::Test {
for (size_t i = 0; i < num_test_cases; ++i) {
int misspelling_start = 0;
int misspelling_length = 0;
- static_cast<blink::WebSpellCheckClient*>(provider())
+ static_cast<blink::WebTextCheckClient*>(provider())
->checkSpelling(blink::WebString::fromUTF16(
base::WideToUTF16(test_cases[i].input)),
misspelling_start, misspelling_length, nullptr);
@@ -235,7 +235,7 @@ TEST_F(MultilingualSpellCheckTest, MultilingualSpellCheckSuggestions) {
blink::WebVector<blink::WebString> suggestions;
int misspelling_start;
int misspelling_length;
- static_cast<blink::WebSpellCheckClient*>(provider())
+ static_cast<blink::WebTextCheckClient*>(provider())
->checkSpelling(
blink::WebString::fromUTF16(base::WideToUTF16(kTestCases[i].input)),
misspelling_start, misspelling_length, &suggestions);
« no previous file with comments | « no previous file | components/spellcheck/renderer/spellcheck_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698