| 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 3ee3ee041c1788952e17959615677739200b0219..a72b84d0742eb0e106f7c4a3670f4cffb064404f 100644
|
| --- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| @@ -632,17 +632,16 @@ void FrameSelection::SelectAll() {
|
|
|
| Node* root = nullptr;
|
| Node* select_start_target = nullptr;
|
| - if (ComputeVisibleSelectionInDOMTreeDeprecated().IsContentEditable()) {
|
| - root = HighestEditableRoot(
|
| - ComputeVisibleSelectionInDOMTreeDeprecated().Start());
|
| + if (ComputeVisibleSelectionInDOMTree().IsContentEditable()) {
|
| + root = HighestEditableRoot(ComputeVisibleSelectionInDOMTree().Start());
|
| if (Node* shadow_root = NonBoundaryShadowTreeRootNode(
|
| - ComputeVisibleSelectionInDOMTreeDeprecated().Start()))
|
| + ComputeVisibleSelectionInDOMTree().Start()))
|
| select_start_target = shadow_root->OwnerShadowHost();
|
| else
|
| select_start_target = root;
|
| } else {
|
| root = NonBoundaryShadowTreeRootNode(
|
| - ComputeVisibleSelectionInDOMTreeDeprecated().Start());
|
| + ComputeVisibleSelectionInDOMTree().Start());
|
| if (root) {
|
| select_start_target = root->OwnerShadowHost();
|
| } else {
|
|
|