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

Unified Diff: third_party/WebKit/Source/core/html/forms/TextControlInnerElements.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/html/forms/TextControlInnerElements.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/TextControlInnerElements.cpp b/third_party/WebKit/Source/core/html/forms/TextControlInnerElements.cpp
index d0557d026b5a47e11a1c84f3d70a98e861a402c5..15d79bea17c74173b4a917ba07485a014883d267 100644
--- a/third_party/WebKit/Source/core/html/forms/TextControlInnerElements.cpp
+++ b/third_party/WebKit/Source/core/html/forms/TextControlInnerElements.cpp
@@ -86,7 +86,7 @@ PassRefPtr<ComputedStyle> EditingViewPortElement::CustomStyleForLayoutObject() {
// We don't want the shadow dom to be editable, so we set this block to
// read-only in case the input itself is editable.
- style->SetUserModify(READ_ONLY);
+ style->SetUserModify(EUserModify::kReadOnly);
style->SetUnique();
if (const ComputedStyle* parent_style = ParentComputedStyle())

Powered by Google App Engine
This is Rietveld 408576698