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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.h

Issue 2635143002: Changed EBoxSizing to an enum class and renamed its members (Closed)
Patch Set: 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
Index: third_party/WebKit/Source/core/style/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index 825e0e5fd7be9d75e7f6a0679674c4c4c12afb5b..75bc21957ed97b0126824ec720648aaaefe63199 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -758,7 +758,7 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
void setBoxShadow(PassRefPtr<ShadowList>);
// box-sizing (aka -webkit-box-sizing)
- static EBoxSizing initialBoxSizing() { return BoxSizingContentBox; }
+ static EBoxSizing initialBoxSizing() { return EBoxSizing::ContentBox; }
EBoxSizing boxSizing() const { return m_box->boxSizing(); }
void setBoxSizing(EBoxSizing s) { SET_VAR(m_box, m_boxSizing, s); }

Powered by Google App Engine
This is Rietveld 408576698