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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.cpp

Issue 2878333002: Make ETextModify an enum class. (Closed)
Patch Set: 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 946fa348100d1ce282a18baa28df8fddc130eda7..e3b94cac4beebeafa1c0ecbce613dbc0b367f07a 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
@@ -1393,7 +1393,7 @@ void LayoutObject::ShowLayoutTreeAndMark(const LayoutObject* marked_object1,
bool LayoutObject::IsSelectable() const {
return !IsInert() && !(Style()->UserSelect() == SELECT_NONE &&
- Style()->UserModify() == READ_ONLY);
+ Style()->UserModify() == EUserModify::kReadOnly);
}
Color LayoutObject::SelectionBackgroundColor() const {

Powered by Google App Engine
This is Rietveld 408576698