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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleAdjuster.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/css/resolver/StyleAdjuster.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp b/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp
index 850bef6bbebbad114ff3e1974f3cc27d76e729b4..5ebd8582c05c20f4b8786e7ddb2d5071c36b63a3 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp
@@ -137,7 +137,7 @@ static bool LayoutParentStyleForcesZIndexToCreateStackingContext(
}
void StyleAdjuster::AdjustStyleForEditing(ComputedStyle& style) {
- if (style.UserModify() != READ_WRITE_PLAINTEXT_ONLY)
+ if (style.UserModify() != EUserModify::kReadWritePlaintextOnly)
return;
// Collapsing whitespace is harmful in plain-text editing.
if (style.WhiteSpace() == EWhiteSpace::kNormal)

Powered by Google App Engine
This is Rietveld 408576698