| Index: third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp b/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp
|
| index 082e02fb7664de50371dc8651a703f752338c7e8..054dedc9554944ddb0b5c2b0ad508f0104737c78 100644
|
| --- a/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp
|
| @@ -52,9 +52,9 @@ SpellCheckRequest::SpellCheckRequest(
|
| , m_requestNumber(requestNumber)
|
| {
|
| ASSERT(m_checkingRange);
|
| - ASSERT(m_checkingRange->inDocument());
|
| + ASSERT(m_checkingRange->inShadowIncludingDocument());
|
| ASSERT(m_paragraphRange);
|
| - ASSERT(m_paragraphRange->inDocument());
|
| + ASSERT(m_paragraphRange->inShadowIncludingDocument());
|
| ASSERT(m_rootEditableElement);
|
| }
|
|
|
| @@ -117,7 +117,7 @@ const TextCheckingRequestData& SpellCheckRequest::data() const
|
|
|
| bool SpellCheckRequest::isValid() const
|
| {
|
| - return m_checkingRange->inDocument() && m_paragraphRange->inDocument() && m_rootEditableElement->inDocument();
|
| + return m_checkingRange->inShadowIncludingDocument() && m_paragraphRange->inShadowIncludingDocument() && m_rootEditableElement->inShadowIncludingDocument();
|
| }
|
|
|
| void SpellCheckRequest::didSucceed(const Vector<TextCheckingResult>& results)
|
|
|