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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGForeignObject.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/LayoutSVGForeignObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGForeignObject.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGForeignObject.cpp
index 99ff2eb287621923159474a0993008f507c623a5..d4adbd1533cd0040706e49a65c7718b3d569057c 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGForeignObject.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGForeignObject.cpp
@@ -94,7 +94,7 @@ void LayoutSVGForeignObject::computeLogicalHeight(
}
void LayoutSVGForeignObject::layout() {
- ASSERT(needsLayout());
+ DCHECK(needsLayout());
SVGForeignObjectElement* foreign = toSVGForeignObjectElement(node());
@@ -118,7 +118,7 @@ void LayoutSVGForeignObject::layout() {
bool layoutChanged = everHadLayout() && selfNeedsLayout();
LayoutBlock::layout();
- ASSERT(!needsLayout());
+ DCHECK(!needsLayout());
// If our bounds changed, notify the parents.
if (!updateCachedBoundariesInParents)

Powered by Google App Engine
This is Rietveld 408576698