Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Unified Diff: third_party/WebKit/Source/core/editing/spellcheck/SpellCheckerTest.cpp

Issue 2235643002: Code cleanup related to unified text checker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@EnableUnifiedTextCheckerByDefault
Patch Set: Rebased on removal of grammar-checking code Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/editing/spellcheck/SpellCheckerTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckerTest.cpp b/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckerTest.cpp
index 8306c9544a18410c3dababce2e916d326a5c6dec..8c6e9b6f7aabefc40311e0ade4786473c1d530d3 100644
--- a/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckerTest.cpp
+++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckerTest.cpp
@@ -20,10 +20,8 @@ TEST_F(SpellCheckerTest, AdvanceToNextMisspellingWithEmptyInputNoCrash)
updateAllLifecyclePhases();
Element* input = document().querySelector("input");
input->focus();
- document().settings()->setUnifiedTextCheckerEnabled(true);
// Do not crash in AdvanceToNextMisspelling command.
EXPECT_TRUE(document().frame()->editor().executeCommand("AdvanceToNextMisspelling"));
- document().settings()->setUnifiedTextCheckerEnabled(false);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698