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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.h

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/LayoutSVGResourceClipper.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.h
index d3ffc3ad4e0d3468ba8f4c7128ee60a0e3216551..b84f52a7007bd3a65d86a98483fd17668f22d95d 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.h
@@ -56,11 +56,11 @@ class LayoutSVGResourceClipper final : public LayoutSVGResourceContainer {
bool hasCycle() { return m_inClipExpansion; }
void beginClipExpansion() {
- ASSERT(!m_inClipExpansion);
+ DCHECK(!m_inClipExpansion);
m_inClipExpansion = true;
}
void endClipExpansion() {
- ASSERT(m_inClipExpansion);
+ DCHECK(m_inClipExpansion);
m_inClipExpansion = false;
}

Powered by Google App Engine
This is Rietveld 408576698