Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Unified Diff: third_party/WebKit/Source/core/editing/VisibleUnits.cpp

Issue 2882093002: Make EUserSelect an enum class. (Closed)
Patch Set: Rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/editing/VisibleUnits.cpp
diff --git a/third_party/WebKit/Source/core/editing/VisibleUnits.cpp b/third_party/WebKit/Source/core/editing/VisibleUnits.cpp
index f953a2630b0faab92dc3a4259336e58aded96745..8afb76b0aa4762ead9780378bd1d41b2a2f27f23 100644
--- a/third_party/WebKit/Source/core/editing/VisibleUnits.cpp
+++ b/third_party/WebKit/Source/core/editing/VisibleUnits.cpp
@@ -1815,7 +1815,7 @@ EphemeralRange ExpandRangeToSentenceBoundary(const EphemeralRange& range) {
static bool NodeIsUserSelectAll(const Node* node) {
return node && node->GetLayoutObject() &&
- node->GetLayoutObject()->Style()->UserSelect() == SELECT_ALL;
+ node->GetLayoutObject()->Style()->UserSelect() == EUserSelect::kAll;
}
template <typename Strategy>
« no previous file with comments | « third_party/WebKit/Source/core/editing/EditingUtilities.cpp ('k') | third_party/WebKit/Source/core/frame/SmartClip.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698