| Index: third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
| index cf28e553d312c292124916237f4dd6051d5092b5..109ce6a7fd73d77a726e80761d2b9058de9c5a4e 100644
|
| --- a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
| @@ -2029,6 +2029,11 @@ void AXLayoutObject::setSelection(const AXRange& selection)
|
| if (!frame)
|
| return;
|
|
|
| + // TODO(dglazkov): The use of updateStyleAndLayoutIgnorePendingStylesheets needs to be audited.
|
| + // see http://crbug.com/590369 for more details.
|
| + // This callsite should probably move up the stack.
|
| + frame->document()->updateStyleAndLayoutIgnorePendingStylesheets();
|
| +
|
| // Set the selection based on visible positions, because the offsets in accessibility nodes
|
| // are based on visible indexes, which often skips redundant whitespace, for example.
|
| VisiblePosition anchorVisiblePosition = anchorNode->isTextNode()
|
|
|