| 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 d7849492e01e802981a1c17d844e972d10ba3aab..e14067f6ccde2ccd7e85eab640b61f99303bd30f 100644
|
| --- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| @@ -996,13 +996,7 @@ void FrameSelection::selectAll() {
|
| return;
|
| }
|
|
|
| - // TODO(xiaochengh): The use of updateStyleAndLayoutIgnorePendingStylesheets
|
| - // needs to be audited. See http://crbug.com/590369 for more details.
|
| - document().updateStyleAndLayoutIgnorePendingStylesheets();
|
| -
|
| - VisibleSelection newSelection(
|
| - VisibleSelection::selectionFromContentsOfNode(root));
|
| - setSelection(newSelection);
|
| + setSelection(SelectionInDOMTree::Builder().selectAllChildren(*root).build());
|
| selectFrameElementInParentIfFullySelected();
|
| notifyLayoutObjectOfSelectionChange(UserTriggered);
|
| }
|
|
|