summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorgroby <groby@chromium.org>2015-11-30 16:41:53 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-01 00:45:57 +0000
commit23c56022cb4c0e9f0559ec7f072e3f01ea8c4181 (patch)
tree608a9e88b39bb0b4af2edcbab8e7e2d496419891 /components
parent3f39c25b888f3ccfb9a18e7d31ee20f0bcf89c58 (diff)
downloadchromium_src-23c56022cb4c0e9f0559ec7f072e3f01ea8c4181.zip
chromium_src-23c56022cb4c0e9f0559ec7f072e3f01ea8c4181.tar.gz
chromium_src-23c56022cb4c0e9f0559ec7f072e3f01ea8c4181.tar.bz2
[Spellcheck] Remove autocorrect
BUG=519012 Review URL: https://codereview.chromium.org/1436633002 Cr-Commit-Position: refs/heads/master@{#362289}
Diffstat (limited to 'components')
-rw-r--r--components/test_runner/spell_check_client.cc9
-rw-r--r--components/test_runner/spell_check_client.h1
2 files changed, 0 insertions, 10 deletions
diff --git a/components/test_runner/spell_check_client.cc b/components/test_runner/spell_check_client.cc
index 3798426..9ef7caf 100644
--- a/components/test_runner/spell_check_client.cc
+++ b/components/test_runner/spell_check_client.cc
@@ -140,13 +140,4 @@ void SpellCheckClient::FinishLastTextCheck() {
web_test_proxy_->PostSpellCheckEvent(blink::WebString("FinishLastTextCheck"));
}
-blink::WebString SpellCheckClient::autoCorrectWord(
- const blink::WebString& word) {
- // Returns an empty string as Mac WebKit ('WebKitSupport/WebEditorClient.mm')
- // does. (If this function returns a non-empty string, WebKit replaces the
- // given misspelled string with the result one. This process executes some
- // editor commands and causes layout-test failures.)
- return blink::WebString();
-}
-
} // namespace test_runner
diff --git a/components/test_runner/spell_check_client.h b/components/test_runner/spell_check_client.h
index 04a705e..f1436cf 100644
--- a/components/test_runner/spell_check_client.h
+++ b/components/test_runner/spell_check_client.h
@@ -40,7 +40,6 @@ class SpellCheckClient : public blink::WebSpellCheckClient {
const blink::WebVector<uint32_t>& markers,
const blink::WebVector<unsigned>& marker_offsets,
blink::WebTextCheckingCompletion* completion) override;
- blink::WebString autoCorrectWord(const blink::WebString& word) override;
private:
void FinishLastTextCheck();