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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.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/LayoutSVGResourceGradient.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp
index a3a3297816c7417c3836aab5f3f4e357c3985f8e..0a4fe8d5cbdefe03e1a300b5d222f85d014bef69 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp
@@ -42,7 +42,7 @@ void LayoutSVGResourceGradient::removeAllClientsFromCache(
void LayoutSVGResourceGradient::removeClientFromCache(
LayoutObject* client,
bool markForInvalidation) {
- ASSERT(client);
+ DCHECK(client);
m_gradientMap.erase(client);
markClientForInvalidation(
client, markForInvalidation ? PaintInvalidation : ParentOnlyInvalidation);

Powered by Google App Engine
This is Rietveld 408576698