| Index: third_party/WebKit/Source/core/editing/PlainTextRange.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/PlainTextRange.cpp b/third_party/WebKit/Source/core/editing/PlainTextRange.cpp
|
| index 163d3e7ac405d0b31775305476d0715d288c4835..048ffb83a6aee7b4c40a5328ae4c0f1cc6977ffc 100644
|
| --- a/third_party/WebKit/Source/core/editing/PlainTextRange.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/PlainTextRange.cpp
|
| @@ -82,6 +82,11 @@ EphemeralRange PlainTextRange::createRangeFor(const ContainerNode& scope, GetRan
|
| if (getRangeFor == ForSelection)
|
| behaviorFlags |= TextIteratorEmitsCharactersBetweenAllVisiblePositions;
|
| auto range = EphemeralRange::rangeOfContents(scope);
|
| +
|
| + // TODO(dglazkov): The use of updateLayoutIgnorePendingStylesheets needs to be audited.
|
| + // see http://crbug.com/590369 for more details.
|
| + scope.document().updateLayoutIgnorePendingStylesheets();
|
| +
|
| TextIterator it(range.startPosition(), range.endPosition(), behaviorFlags);
|
|
|
| // FIXME: the atEnd() check shouldn't be necessary, workaround for
|
|
|