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

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

Issue 2635143002: Changed EBoxSizing to an enum class and renamed its members (Closed)
Patch Set: Aded k prefix Created 3 years, 11 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 415f63d6a5b6a6a720522597f3a13f56ae859aa3..bb68d2752677855de1b3f94a09cc292aaa9c03d9 100644
--- a/third_party/WebKit/Source/core/style/StyleBoxData.cpp
+++ b/third_party/WebKit/Source/core/style/StyleBoxData.cpp
@@ -41,7 +41,7 @@ StyleBoxData::StyleBoxData()
m_maxHeight(ComputedStyle::initialMaxSize()),
m_zIndex(0),
m_hasAutoZIndex(true),
- m_boxSizing(BoxSizingContentBox),
+ m_boxSizing(static_cast<unsigned>(ComputedStyle::initialBoxSizing())),
m_boxDecorationBreak(BoxDecorationBreakSlice) {}
StyleBoxData::StyleBoxData(const StyleBoxData& o)
« 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