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

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

Issue 2677033002: Remove BreakAlways from EBreak enum (Closed)
Patch Set: Created 3 years, 10 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 df10f0186e3dbde0e5ff054e2a3df995e4989d32..f84acb14f2732f342564960bb26213502df380d3 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -766,7 +766,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
return static_cast<EBreak>(m_nonInheritedData.m_breakAfter);
}
void setBreakAfter(EBreak b) {
- DCHECK_LE(b, BreakValueLastAllowedForBreakAfterAndBefore);
m_nonInheritedData.m_breakAfter = b;
}
@@ -777,7 +776,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
return static_cast<EBreak>(m_nonInheritedData.m_breakBefore);
}
void setBreakBefore(EBreak b) {
- DCHECK_LE(b, BreakValueLastAllowedForBreakAfterAndBefore);
m_nonInheritedData.m_breakBefore = b;
}

Powered by Google App Engine
This is Rietveld 408576698