Index: components/spellcheck/renderer/spellcheck_provider_test.cc |
diff --git a/components/spellcheck/renderer/spellcheck_provider_test.cc b/components/spellcheck/renderer/spellcheck_provider_test.cc |
index ffba9d14b0c2f6713aa7bc66180b68c53a499225..418362fb4a2620e28a86c2537054328fa0c631f2 100644 |
--- a/components/spellcheck/renderer/spellcheck_provider_test.cc |
+++ b/components/spellcheck/renderer/spellcheck_provider_test.cc |
@@ -83,8 +83,10 @@ void TestingSpellCheckProvider::OnCallSpellingService( |
text_.assign(text); |
text_check_completions_.Remove(identifier); |
std::vector<blink::WebTextCheckingResult> results; |
- results.push_back(blink::WebTextCheckingResult( |
- blink::kWebTextDecorationTypeSpelling, 0, 5, blink::WebString("hello"))); |
+ blink::WebVector<blink::WebString> replacements; |
groby-ooo-7-16
2017/04/28 23:45:55
I don't think you need this.
|
+ results.push_back( |
+ blink::WebTextCheckingResult(blink::kWebTextDecorationTypeSpelling, 0, 5, |
+ std::vector<blink::WebString>({"hello"}))); |
completion->DidFinishCheckingText(results); |
last_request_ = text; |
last_results_ = results; |