Index: third_party/WebKit/Source/core/dom/Node.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp |
index 75a14c126049e00ced0923749a439772f8c35f52..2c1b5bee29fb8df519818bd1fb51beae183a9303 100644 |
--- a/third_party/WebKit/Source/core/dom/Node.cpp |
+++ b/third_party/WebKit/Source/core/dom/Node.cpp |
@@ -1047,7 +1047,8 @@ bool Node::CanStartSelection() const { |
// We allow selections to begin within an element that has |
// -webkit-user-select: none set, but if the element is draggable then |
// dragging should take priority over selection. |
- if (style.UserDrag() == DRAG_ELEMENT && style.UserSelect() == SELECT_NONE) |
+ if (style.UserDrag() == DRAG_ELEMENT && |
+ style.UserSelect() == EUserSelect::kNone) |
return false; |
} |
ContainerNode* parent = FlatTreeTraversal::Parent(*this); |