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

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

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
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 e7a3804f69b2c3aa34123bdf3db6e6ca3ef5a87f..d27e48ab639c9ecabc9c236e79f11a395ff03728 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -815,7 +815,7 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
// -webkit-box-decoration-break
static EBoxDecorationBreak InitialBoxDecorationBreak() {
- return kBoxDecorationBreakSlice;
+ return EBoxDecorationBreak::kSlice;
}
EBoxDecorationBreak BoxDecorationBreak() const {
return static_cast<EBoxDecorationBreak>(box_data_->box_decoration_break_);

Powered by Google App Engine
This is Rietveld 408576698