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 9e7638188839173387a2fb08193954032412e97e..0e9205ed0d2ab1d6b564ab3d5aec3a755e7595f9 100644 |
--- a/third_party/WebKit/Source/core/editing/EditingStrategy.cpp |
+++ b/third_party/WebKit/Source/core/editing/EditingStrategy.cpp |
@@ -77,7 +77,7 @@ int EditingAlgorithm<Traversal>::LastOffsetForEditing(const Node* node) { |
template <typename Strategy> |
Node* EditingAlgorithm<Strategy>::RootUserSelectAllForNode(Node* node) { |
- if (!node || UsedValueOfUserSelect(*node) != SELECT_ALL) |
+ if (!node || UsedValueOfUserSelect(*node) != EUserSelect::kAll) |
return nullptr; |
Node* parent = Strategy::Parent(*node); |
if (!parent) |
@@ -89,7 +89,7 @@ Node* EditingAlgorithm<Strategy>::RootUserSelectAllForNode(Node* node) { |
parent = Strategy::Parent(*parent); |
continue; |
} |
- if (UsedValueOfUserSelect(*parent) != SELECT_ALL) |
+ if (UsedValueOfUserSelect(*parent) != EUserSelect::kAll) |
break; |
candidate_root = parent; |
parent = Strategy::Parent(*candidate_root); |