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

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

Issue 2149893003: Rename Node::inShadowIncludingDocument() to Node::isConnected() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed Created 4 years, 5 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 45fc8ee0d359d1c54999b0d8a18b673489bb9beb..120089a0f1f65c5da1b328a786a7f2f8ed2bee30 100644
--- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
+++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
@@ -792,7 +792,7 @@ void SpellChecker::replaceMisspelledRange(const String& text)
static bool shouldCheckOldSelection(const VisibleSelection& oldSelection)
{
- if (!oldSelection.start().inShadowIncludingDocument())
+ if (!oldSelection.start().isConnected())
return false;
if (isSelectionInTextField(oldSelection))
return false;

Powered by Google App Engine
This is Rietveld 408576698