Index: components/test_runner/spell_check_client.cc |
diff --git a/components/test_runner/spell_check_client.cc b/components/test_runner/spell_check_client.cc |
index 68c663aa0a4c5763b5188bd66a62cccca9e0bf6d..75825f6f1218b55490501a0b5e9969d11f6c8520 100644 |
--- a/components/test_runner/spell_check_client.cc |
+++ b/components/test_runner/spell_check_client.cc |
@@ -10,7 +10,6 @@ |
#include "base/bind_helpers.h" |
#include "base/logging.h" |
#include "base/macros.h" |
-#include "components/test_runner/mock_grammar_check.h" |
#include "components/test_runner/test_runner.h" |
#include "components/test_runner/web_task.h" |
#include "components/test_runner/web_test_delegate.h" |
@@ -66,8 +65,6 @@ void SpellCheckClient::checkTextOfParagraph( |
offset += misspelled_position + misspelled_length; |
} |
} |
- if (mask & blink::WebTextCheckingTypeGrammar) |
- MockGrammarCheck::CheckGrammarOfString(text, &results); |
web_results->assign(results); |
} |
@@ -122,8 +119,6 @@ void SpellCheckClient::FinishLastTextCheck() { |
text = text.substr(misspelled_position + misspelled_length); |
offset += misspelled_position + misspelled_length; |
} |
- MockGrammarCheck::CheckGrammarOfString(last_requested_text_check_string_, |
- &results); |
} |
last_requested_text_checking_completion_->didFinishCheckingText(results); |
last_requested_text_checking_completion_ = 0; |