| 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 618cb6fdf4fcbf4d133a49bbd2595ed02b153f82..e54015439ae0c71a438149e46c4938c50110842f 100644
|
| --- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
| @@ -367,9 +367,10 @@ bool SpellChecker::isSpellCheckingEnabledFor(const VisibleSelection& selection)
|
| return false;
|
| }
|
|
|
| -void SpellChecker::chunkAndMarkAllMisspellingsAndBadGrammar(Node* node, const EphemeralRange& insertedRange)
|
| +void SpellChecker::chunkAndMarkAllMisspellingsAndBadGrammar(const EphemeralRange& insertedRange)
|
| {
|
| TRACE_EVENT0("blink", "SpellChecker::chunkAndMarkAllMisspellingsAndBadGrammar");
|
| + Node* node = rootEditableElementOf(insertedRange.startPosition());
|
| if (!node)
|
| return;
|
| EphemeralRange paragraphRange(Position::firstPositionInNode(node), Position::lastPositionInNode(node));
|
|
|