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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.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/LayoutSVGContainer.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
index 9cd0ef208a15a8aa01a3b9f5effd352df7e97190..45253ee0d115ae055bc2285911a6db06d7b202bd 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
@@ -43,7 +43,7 @@ LayoutSVGContainer::LayoutSVGContainer(SVGElement* node)
LayoutSVGContainer::~LayoutSVGContainer() {}
void LayoutSVGContainer::layout() {
- ASSERT(needsLayout());
+ DCHECK(needsLayout());
LayoutAnalyzer::Scope analyzer(*this);
// Update the local transform in subclasses.
@@ -73,7 +73,7 @@ void LayoutSVGContainer::layout() {
LayoutSVGModelObject::setNeedsBoundariesUpdate();
}
- ASSERT(!m_needsBoundariesUpdate);
+ DCHECK(!m_needsBoundariesUpdate);
clearNeedsLayout();
}

Powered by Google App Engine
This is Rietveld 408576698