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

Unified Diff: third_party/WebKit/Source/core/frame/SmartClip.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/frame/SmartClip.cpp
diff --git a/third_party/WebKit/Source/core/frame/SmartClip.cpp b/third_party/WebKit/Source/core/frame/SmartClip.cpp
index bd1070ac2a98f8d0fa3be5e676aea2041f24aab0..ea23e020e0e8c7cfb71bdcc71c3617dca9a87e32 100644
--- a/third_party/WebKit/Source/core/frame/SmartClip.cpp
+++ b/third_party/WebKit/Source/core/frame/SmartClip.cpp
@@ -243,7 +243,7 @@ String SmartClip::ExtractTextFromNode(Node* node) {
StringBuilder result;
for (Node& current_node : NodeTraversal::InclusiveDescendantsOf(*node)) {
const ComputedStyle* style = current_node.EnsureComputedStyle();
- if (style && style->UserSelect() == SELECT_NONE)
+ if (style && style->UserSelect() == EUserSelect::kNone)
continue;
if (Node* node_from_frame = NodeInsideFrame(&current_node))
« no previous file with comments | « third_party/WebKit/Source/core/editing/VisibleUnits.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698