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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.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/LayoutSVGResourceClipper.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp
index 3985c7628aaa347dcb060b235e98e7bb66431748..bcee4d256d18a1aa819874d3ded5a8469424359e 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp
@@ -116,7 +116,7 @@ void LayoutSVGResourceClipper::removeAllClientsFromCache(
void LayoutSVGResourceClipper::removeClientFromCache(LayoutObject* client,
bool markForInvalidation) {
- ASSERT(client);
+ DCHECK(client);
markClientForInvalidation(client, markForInvalidation
? BoundariesInvalidation
: ParentOnlyInvalidation);
@@ -205,7 +205,7 @@ bool LayoutSVGResourceClipper::asPath(
}
sk_sp<const PaintRecord> LayoutSVGResourceClipper::createPaintRecord() {
- ASSERT(frame());
+ DCHECK(frame());
if (m_cachedPaintRecord)
return m_cachedPaintRecord;

Powered by Google App Engine
This is Rietveld 408576698