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

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

Issue 2751653003: Replace ASSERT and ASSERT_NOT_REACHED in core/style/ (Closed)
Patch Set: Replace ASSERT and ASSERT_NOT_REACHED in core/style/ Created 3 years, 9 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/BorderEdge.cpp
diff --git a/third_party/WebKit/Source/core/style/BorderEdge.cpp b/third_party/WebKit/Source/core/style/BorderEdge.cpp
index e7fdb031efcaf5891b4f299a126aef5dafd28899..fe29b99939dd2fde91cd9e05b8450db5678bd9bb 100644
--- a/third_party/WebKit/Source/core/style/BorderEdge.cpp
+++ b/third_party/WebKit/Source/core/style/BorderEdge.cpp
@@ -58,7 +58,7 @@ float BorderEdge::usedWidth() const {
}
float BorderEdge::getDoubleBorderStripeWidth(DoubleBorderStripe stripe) const {
- ASSERT(stripe == DoubleBorderStripeOuter ||
+ DCHECK(stripe == DoubleBorderStripeOuter ||
stripe == DoubleBorderStripeInner);
return roundf(stripe == DoubleBorderStripeOuter ? usedWidth() / 3
« no previous file with comments | « third_party/WebKit/Source/core/style/BasicShapes.cpp ('k') | third_party/WebKit/Source/core/style/BorderImageLength.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698