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

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

Issue 2845893002: Make EBoxDecorationBreak an enum class. (Closed)
Patch Set: Rebase 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
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyleConstants.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/StyleBoxData.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleBoxData.cpp b/third_party/WebKit/Source/core/style/StyleBoxData.cpp
index 9f52a869a0f91804714c5aa45f691e8fc5c90a19..80d47b3dffda5ad18cd692b1abdf37526bb18740 100644
--- a/third_party/WebKit/Source/core/style/StyleBoxData.cpp
+++ b/third_party/WebKit/Source/core/style/StyleBoxData.cpp
@@ -42,7 +42,8 @@ StyleBoxData::StyleBoxData()
z_index_(0),
has_auto_z_index_(true),
box_sizing_(static_cast<unsigned>(ComputedStyle::InitialBoxSizing())),
- box_decoration_break_(kBoxDecorationBreakSlice) {}
+ box_decoration_break_(
+ static_cast<unsigned>(EBoxDecorationBreak::kSlice)) {}
bool StyleBoxData::operator==(const StyleBoxData& o) const {
return width_ == o.width_ && height_ == o.height_ &&
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyleConstants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698