Index: content/shell/test_runner/test_runner.cc |
diff --git a/content/shell/test_runner/test_runner.cc b/content/shell/test_runner/test_runner.cc |
index 5ae3f3c5d1a4ed22c94df76e39d4089c104342cd..23b19b3ecec718046f500833757d80824cf1accf 100644 |
--- a/content/shell/test_runner/test_runner.cc |
+++ b/content/shell/test_runner/test_runner.cc |
@@ -1893,8 +1893,11 @@ WebContentSettingsClient* TestRunner::GetWebContentSettings() const { |
return mock_content_settings_client_.get(); |
} |
+WebTextCheckClient* TestRunner::GetWebTextCheckClient() const { |
+ return spellcheck_.get(); |
+} |
+ |
void TestRunner::InitializeWebViewWithMocks(blink::WebView* web_view) { |
- web_view->setTextCheckClient(spellcheck_.get()); |
web_view->setCredentialManagerClient(credential_manager_client_.get()); |
} |