| Index: third_party/WebKit/Source/core/editing/EditingStrategy.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/EditingStrategy.cpp b/third_party/WebKit/Source/core/editing/EditingStrategy.cpp
|
| index b85e35c2bfbc522f3b53d60f8733fcba6b115bac..009c944805d223a826dd9863b46387d812e58ea6 100644
|
| --- a/third_party/WebKit/Source/core/editing/EditingStrategy.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/EditingStrategy.cpp
|
| @@ -69,7 +69,7 @@ int EditingAlgorithm<Traversal>::lastOffsetForEditing(const Node* node)
|
| template <typename Strategy>
|
| Node* EditingAlgorithm<Strategy>::rootUserSelectAllForNode(Node* node)
|
| {
|
| - if (!node || !nodeIsUserSelectAll(node))
|
| + if (!node || usedValueOfUserSelect(*node) != SELECT_ALL)
|
| return nullptr;
|
| Node* parent = Strategy::parent(*node);
|
| if (!parent)
|
| @@ -81,7 +81,7 @@ Node* EditingAlgorithm<Strategy>::rootUserSelectAllForNode(Node* node)
|
| parent = Strategy::parent(*parent);
|
| continue;
|
| }
|
| - if (!nodeIsUserSelectAll(parent))
|
| + if (usedValueOfUserSelect(*parent) != SELECT_ALL)
|
| break;
|
| candidateRoot = parent;
|
| parent = Strategy::parent(*candidateRoot);
|
|
|