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..88882d2fb6079ce49aba7e19d04aa239e5726eb5 100644 |
--- a/components/spellcheck/renderer/spellcheck_provider_test.cc |
+++ b/components/spellcheck/renderer/spellcheck_provider_test.cc |
@@ -83,8 +83,9 @@ 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"))); |
+ results.push_back( |
+ blink::WebTextCheckingResult(blink::kWebTextDecorationTypeSpelling, 0, 5, |
+ std::vector<blink::WebString>({"hello"}))); |
completion->DidFinishCheckingText(results); |
last_request_ = text; |
last_results_ = results; |