Index: content/shell/test_runner/mock_spell_check.cc |
diff --git a/content/shell/test_runner/mock_spell_check.cc b/content/shell/test_runner/mock_spell_check.cc |
index 52c7bcad6ea4efcf7057a2a4082bd00a78101f92..141dc40997d876744d04101a92871b3ee0557df8 100644 |
--- a/content/shell/test_runner/mock_spell_check.cc |
+++ b/content/shell/test_runner/mock_spell_check.cc |
@@ -114,12 +114,12 @@ bool MockSpellCheck::IsMultiWordMisspelling( |
const blink::WebString& text, |
std::vector<blink::WebTextCheckingResult>* results) { |
if (text == "Helllo wordl.") { |
- results->push_back( |
- blink::WebTextCheckingResult(blink::kWebTextDecorationTypeSpelling, 0, |
- 6, blink::WebString("Hello"))); |
- results->push_back( |
- blink::WebTextCheckingResult(blink::kWebTextDecorationTypeSpelling, 7, |
- 5, blink::WebString("world"))); |
+ results->push_back(blink::WebTextCheckingResult( |
+ blink::kWebTextDecorationTypeSpelling, 0, 6, |
+ std::vector<blink::WebString>({"Hello"}))); |
+ results->push_back(blink::WebTextCheckingResult( |
+ blink::kWebTextDecorationTypeSpelling, 7, 5, |
+ std::vector<blink::WebString>({"world"}))); |
return true; |
} |
return false; |