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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.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/layout/LayoutObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
index 28598f2479907ea541c3db299340c2ed4f5eb14a..3b9affca6c56895c304730e06662554c9360086f 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
@@ -1392,7 +1392,7 @@ void LayoutObject::ShowLayoutTreeAndMark(const LayoutObject* marked_object1,
#endif // NDEBUG
bool LayoutObject::IsSelectable() const {
- return !IsInert() && !(Style()->UserSelect() == SELECT_NONE &&
+ return !IsInert() && !(Style()->UserSelect() == EUserSelect::kNone &&
Style()->UserModify() == EUserModify::kReadOnly);
}
« no previous file with comments | « third_party/WebKit/Source/core/frame/SmartClip.cpp ('k') | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698