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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGRect.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/LayoutSVGRect.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRect.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRect.cpp
index 507b19f5b8ea295006eee06437b5aadbd0525b44..ca6b47a6d08f83bc57b8858c857fcd96f75de035 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRect.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRect.cpp
@@ -44,7 +44,7 @@ void LayoutSVGRect::updateShapeFromElement() {
m_strokeBoundingBox = FloatRect();
m_usePathFallback = false;
SVGRectElement* rect = toSVGRectElement(element());
- ASSERT(rect);
+ DCHECK(rect);
SVGLengthContext lengthContext(rect);
FloatSize boundingBoxSize(

Powered by Google App Engine
This is Rietveld 408576698