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

Unified Diff: third_party/WebKit/Source/core/svg/SVGRectElement.cpp

Issue 2738863002: Replace ASSERT with DCHECK in core/svg/ (Closed)
Patch Set: static_cast<unsigned>(1) > 1u 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/svg/SVGRectElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGRectElement.cpp b/third_party/WebKit/Source/core/svg/SVGRectElement.cpp
index 0d7360ddd72576752f0cde3ce7dec66883afb719..9d8f9b8308a0fe3568b65725968337cecac8b533 100644
--- a/third_party/WebKit/Source/core/svg/SVGRectElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGRectElement.cpp
@@ -77,7 +77,7 @@ Path SVGRectElement::asPath() const {
Path path;
SVGLengthContext lengthContext(this);
- ASSERT(layoutObject());
+ DCHECK(layoutObject());
const ComputedStyle& style = layoutObject()->styleRef();
const SVGComputedStyle& svgStyle = style.svgStyle();

Powered by Google App Engine
This is Rietveld 408576698