| 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 0e07629a5deebb6db06aa86bb1543ac633a2389b..645938642003030b01a84b125a267af273a33b44 100644
|
| --- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
| @@ -699,6 +699,11 @@ void SpellChecker::replaceMisspelledRange(const String& text)
|
| if (markerRange.isNull())
|
| return;
|
| frame().selection().setSelection(VisibleSelection(markerRange), CharacterGranularity);
|
| +
|
| + // TODO(xiaochengh): The use of updateStyleAndLayoutIgnorePendingStylesheets
|
| + // needs to be audited. See http://crbug.com/590369 for more details.
|
| + frame().document()->updateStyleAndLayoutIgnorePendingStylesheets();
|
| +
|
| frame().editor().replaceSelectionWithText(text, false, false);
|
| }
|
|
|
|
|