| 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 cd33b610056927327514e069f5626aca57baf190..6b793ed917c091b256eba2df2f514d11d021b7c1 100644
|
| --- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| @@ -1004,13 +1004,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);
|
| }
|
|
|