| Index: third_party/WebKit/Source/core/editing/VisibleUnits.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/VisibleUnits.cpp b/third_party/WebKit/Source/core/editing/VisibleUnits.cpp
|
| index 4e43fb10c4946076f6887ded4445c9b74ea2641c..5e86228f48fb302db78e693bf466c40359ae267e 100644
|
| --- a/third_party/WebKit/Source/core/editing/VisibleUnits.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/VisibleUnits.cpp
|
| @@ -826,6 +826,9 @@ static VisiblePositionTemplate<Strategy> nextBoundary(const VisiblePositionTempl
|
| if (it.atEnd() && next == string.size()) {
|
| pos = it.startPositionInCurrentContainer();
|
| } else if (next != invalidOffset && next != prefixLength) {
|
| + // TODO(dglazkov): The use of updateLayoutIgnorePendingStylesheets needs to be audited.
|
| + // see http://crbug.com/590369 for more details.
|
| + searchStart.document()->updateLayoutIgnorePendingStylesheets();
|
| // Use the character iterator to translate the next value into a DOM
|
| // position.
|
| CharacterIteratorAlgorithm<Strategy> charIt(searchStart, searchEnd, TextIteratorEmitsCharactersBetweenAllVisiblePositions);
|
|
|