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

Unified Diff: third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp

Issue 2868783005: Make ETextSecurity 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/style/StyleRareInheritedData.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp b/third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp
index e9aaf87b80dbded443203cdf24537602f82d8e8b..e5a8b47f9c48fec4f75d2efc5008268544f70888 100644
--- a/third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp
+++ b/third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp
@@ -78,7 +78,8 @@ StyleRareInheritedData::StyleRareInheritedData()
visited_link_text_emphasis_color_is_current_color_(true),
visited_link_caret_color_is_current_color_(false),
visited_link_caret_color_is_auto_(true),
- text_security_(ComputedStyle::InitialTextSecurity()),
+ text_security_(
+ static_cast<unsigned>(ComputedStyle::InitialTextSecurity())),
user_modify_(READ_ONLY),
word_break_(ComputedStyle::InitialWordBreak()),
overflow_wrap_(ComputedStyle::InitialOverflowWrap()),

Powered by Google App Engine
This is Rietveld 408576698