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

Unified Diff: third_party/WebKit/Source/core/layout/svg/SVGResources.cpp

Issue 2758683002: Replace ASSERT_NOT_REACHED with NOTREACHED in core/layout/ (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/SVGResources.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGResources.cpp b/third_party/WebKit/Source/core/layout/svg/SVGResources.cpp
index a4155db90b36c628b019a4201e01ae1b20a8ceaf..634122a4626dac6d8f0f7ad4d8534a2e51870ac5 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGResources.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/SVGResources.cpp
@@ -114,7 +114,7 @@ static inline AtomicString targetReferenceFromResource(SVGElement& element) {
else if (isSVGGradientElement(element))
target = toSVGGradientElement(element).href()->currentValue()->value();
else
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return SVGURIReference::fragmentIdentifierFromIRIString(target,
element.treeScope());
@@ -403,7 +403,7 @@ void SVGResources::resourceDestroyed(LayoutSVGResourceContainer* resource) {
m_clipperFilterMaskerData->clipper = nullptr;
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
}

Powered by Google App Engine
This is Rietveld 408576698