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

Unified Diff: third_party/WebKit/Source/core/dom/custom/V0CustomElement.cpp

Issue 2401523002: Replace ASSERT family with DCHECK and so on in core/dom/. (Closed)
Patch Set: Created 4 years, 2 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/dom/custom/V0CustomElement.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/V0CustomElement.cpp b/third_party/WebKit/Source/core/dom/custom/V0CustomElement.cpp
index c958d4fce0ee85f3a33331912effd93edd8472ab..ec99d0f8f44b3cdff9d0d0813a84bd2428a1b5d5 100644
--- a/third_party/WebKit/Source/core/dom/custom/V0CustomElement.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/V0CustomElement.cpp
@@ -104,7 +104,7 @@ void V0CustomElement::define(Element* element,
switch (element->getV0CustomElementState()) {
case Element::V0NotCustomElement:
case Element::V0Upgraded:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
break;
case Element::V0WaitingForUpgrade:
@@ -147,7 +147,7 @@ void V0CustomElement::didDetach(Element* element, const Document& document) {
void V0CustomElement::wasDestroyed(Element* element) {
switch (element->getV0CustomElementState()) {
case Element::V0NotCustomElement:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
break;
case Element::V0WaitingForUpgrade:

Powered by Google App Engine
This is Rietveld 408576698