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

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

Issue 2845773002: Make TextDecoration an enum class. (Closed)
Patch Set: Address comments Created 3 years, 8 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/StyleVisualData.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleVisualData.cpp b/third_party/WebKit/Source/core/style/StyleVisualData.cpp
index 8954188158c55c31e1de586e65890351aa999bc9..ac3b420b0ffd8aa581202cd43c0fe88e1ec50419 100644
--- a/third_party/WebKit/Source/core/style/StyleVisualData.cpp
+++ b/third_party/WebKit/Source/core/style/StyleVisualData.cpp
@@ -27,7 +27,8 @@ namespace blink {
StyleVisualData::StyleVisualData()
: has_auto_clip(true),
- text_decoration(ComputedStyle::InitialTextDecoration()),
+ text_decoration(
+ static_cast<unsigned>(ComputedStyle::InitialTextDecoration())),
zoom_(ComputedStyle::InitialZoom()) {}
StyleVisualData::~StyleVisualData() {}

Powered by Google App Engine
This is Rietveld 408576698