| Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| index 1d1e5ec51ca2fd7bf16a5e92b752549d0cf6be30..259c12ece4c8f34f3965885f40c6ba3bef2798de 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -1068,6 +1068,13 @@ void WebLocalFrameImpl::requestTextChecking(const WebElement& webElement)
|
| {
|
| if (webElement.isNull())
|
| return;
|
| +
|
| + // TODO(xiaochengh): The use of updateStyleAndLayoutIgnorePendingStylesheets needs to be audited.
|
| + // see http://crbug.com/590369 for more details.
|
| + frame()->document()->updateStyleAndLayoutIgnorePendingStylesheets();
|
| +
|
| + DocumentLifecycle::DisallowTransitionScope(frame()->document()->lifecycle());
|
| +
|
| frame()->spellChecker().requestTextChecking(*webElement.constUnwrap<Element>());
|
| }
|
|
|
|
|