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

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

Issue 2738863002: Replace ASSERT with DCHECK in core/svg/ (Closed)
Patch Set: Split DCHECKS wherever possible 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/SVGGeometryElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGGeometryElement.cpp b/third_party/WebKit/Source/core/svg/SVGGeometryElement.cpp
index bc36c7157bad5f037a0a95a452194a2634fa8485..3b700e8a13673f42246c1321ec1ce0450a357607 100644
--- a/third_party/WebKit/Source/core/svg/SVGGeometryElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGGeometryElement.cpp
@@ -111,8 +111,8 @@ void SVGGeometryElement::toClipPath(Path& path) const {
path = asPath();
path.transform(calculateTransform(SVGElement::IncludeMotionTransform));
- ASSERT(layoutObject());
- ASSERT(layoutObject()->style());
+ DCHECK(layoutObject());
+ DCHECK(layoutObject()->style());
path.setWindRule(layoutObject()->style()->svgStyle().clipRule());
}
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGFETileElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGInteger.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698