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 595ecd0b0df5d75ffaf3eacae1b2400332e7e3d4..01d98106af6e5cee6e0c927e9e6fb5a69c31d7e1 100644 |
--- a/components/spellcheck/renderer/spellcheck_provider_test.cc |
+++ b/components/spellcheck/renderer/spellcheck_provider_test.cc |
@@ -92,8 +92,9 @@ void TestingSpellCheckProvider::OnCallSpellingService( |
text_.assign(text); |
text_check_completions_.Remove(last_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; |