| Index: third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/FrameSelection.cpp b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| index 35a2d2c27e0dfa904a02392a298ec9466bcd9bc9..bfc1165d025e989482b774dba37023c8d431a28b 100644
|
| --- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| @@ -314,6 +314,10 @@ void FrameSelection::setSelectionAlgorithm(
|
| visibleSelection<Strategy>();
|
| const VisibleSelection oldSelectionInDOMTree = selection();
|
|
|
| + // TODO(xiaochengh): The use of updateStyleAndLayoutIgnorePendingStylesheets
|
| + // needs to be audited. See http://crbug.com/590369 for more details.
|
| + document().updateStyleAndLayoutIgnorePendingStylesheets();
|
| +
|
| m_selectionEditor->setVisibleSelection(s, options);
|
| m_frameCaret->setCaretRectNeedsUpdate();
|
|
|
|
|