| 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 95d380e5a32a995fe5f0a5efffc63adae8b2bc26..35f082f93ee99b928d653887af87700bbf045d59 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -1397,6 +1397,11 @@ bool WebLocalFrameImpl::selectionStartHasSpellingMarkerFor(int from, int length)
|
| {
|
| if (!frame())
|
| return false;
|
| +
|
| + // TODO(xiaochengh): The use of updateStyleAndLayoutIgnorePendingStylesheets
|
| + // needs to be audited. See http://crbug.com/590369 for more details.
|
| + frame()->document()->updateStyleAndLayoutIgnorePendingStylesheets();
|
| +
|
| return frame()->spellChecker().selectionStartHasSpellingMarkerFor(from, length);
|
| }
|
|
|
|
|