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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePaintServer.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/LayoutSVGResourcePaintServer.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePaintServer.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePaintServer.h
index ce52519b147d1bd80cc2621aecc73e60f153188a..d9da64f3b93a03e3ba27bc47c096fc04870ea41f 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePaintServer.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePaintServer.h
@@ -80,7 +80,7 @@ struct SVGPaintDescription {
: resource(nullptr), color(color), isValid(true), hasFallback(false) {}
SVGPaintDescription(LayoutSVGResourcePaintServer* resource)
: resource(resource), isValid(true), hasFallback(false) {
- ASSERT(resource);
+ DCHECK(resource);
}
SVGPaintDescription(LayoutSVGResourcePaintServer* resource,
Color fallbackColor)
@@ -88,7 +88,7 @@ struct SVGPaintDescription {
color(fallbackColor),
isValid(true),
hasFallback(true) {
- ASSERT(resource);
+ DCHECK(resource);
}
LayoutSVGResourcePaintServer* resource;

Powered by Google App Engine
This is Rietveld 408576698