| 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 a4a1f40ae74a06ee76a801ba677fb99cd0f60cd0..a889e406333a5578fd139d0911761e7ab7d716aa 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -995,6 +995,11 @@ bool WebLocalFrameImpl::firstRectForCharacterRange(unsigned location, unsigned l
|
| Element* editable = frame()->selection().rootEditableElementOrDocumentElement();
|
| if (!editable)
|
| return false;
|
| +
|
| + // TODO(dglazkov): The use of updateStyleAndLayoutIgnorePendingStylesheets needs to be audited.
|
| + // see http://crbug.com/590369 for more details.
|
| + editable->document().updateStyleAndLayoutIgnorePendingStylesheets();
|
| +
|
| const EphemeralRange range = PlainTextRange(location, location + length).createRange(*editable);
|
| if (range.isNull())
|
| return false;
|
|
|