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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGEllipse.cpp

Issue 2748103015: Replace ASSERT with DCHECK in core/layout/<sub dirs> (Closed)
Patch Set: Rebase with latest 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/layout/svg/LayoutSVGEllipse.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGEllipse.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGEllipse.cpp
index d70f41ac70bc46a9d89c7dec79c43fc645eef972..688a90e42629733c1d471bf037ce16e779c9f121 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGEllipse.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGEllipse.cpp
@@ -76,7 +76,7 @@ void LayoutSVGEllipse::updateShapeFromElement() {
}
void LayoutSVGEllipse::calculateRadiiAndCenter() {
- ASSERT(element());
+ DCHECK(element());
SVGLengthContext lengthContext(element());
m_center = FloatPoint(
lengthContext.valueForLength(style()->svgStyle().cx(), styleRef(),

Powered by Google App Engine
This is Rietveld 408576698