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

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

Issue 2394683005: Remove ASSERT_UNUSED (Closed)
Patch Set: Created 4 years, 2 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/SVGLayoutSupport.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
index e8cac66ad02d914d4945ccd106d76931825f8908..1bb35b77883efe00029771d1e77e4ce8d6f1c539 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
@@ -198,7 +198,7 @@ const LayoutObject* SVGLayoutSupport::pushMappingToContainer(
const LayoutObject* object,
const LayoutBoxModelObject* ancestorToStopAt,
LayoutGeometryMap& geometryMap) {
- ASSERT_UNUSED(ancestorToStopAt, ancestorToStopAt != object);
+ DCHECK_NE(ancestorToStopAt, object);
LayoutObject* parent = object->parent();

Powered by Google App Engine
This is Rietveld 408576698