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

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

Issue 2441693004: Make editingIgnoresContents() as global function (Closed)
Patch Set: 2016-10-21T14:45:18 Created 4 years, 2 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/SpellChecker.cpp
diff --git a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
index f84b61e6bbe8d69474103207f04335f7e0669f26..825ca1dfc3caf55a2be40a5c5bde970a5e742f37 100644
--- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
+++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
@@ -213,7 +213,7 @@ void SpellChecker::didBeginEditing(Element* element) {
}
if (isTextField || !parent->isAlreadySpellChecked()) {
- if (EditingStrategy::editingIgnoresContent(element))
+ if (editingIgnoresContent(element))
return;
// We always recheck textfields because markers are removed from them on
// blur.

Powered by Google App Engine
This is Rietveld 408576698