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

Unified Diff: third_party/WebKit/Source/core/dom/custom/V0CustomElementCallbackInvocation.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/V0CustomElementCallbackInvocation.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/V0CustomElementCallbackInvocation.cpp b/third_party/WebKit/Source/core/dom/custom/V0CustomElementCallbackInvocation.cpp
index 0bd5a314363ede37ab240025ab1fc7f1a7ecd4fc..c9e6ff6521eb4f784478de1dc35c9bcf4aedc48f 100644
--- a/third_party/WebKit/Source/core/dom/custom/V0CustomElementCallbackInvocation.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/V0CustomElementCallbackInvocation.cpp
@@ -66,7 +66,7 @@ void AttachedDetachedInvocation::dispatch(Element* element) {
callbacks()->detached(element);
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
}
@@ -130,7 +130,7 @@ V0CustomElementCallbackInvocation::createInvocation(
case V0CustomElementLifecycleCallbacks::DetachedCallback:
return new AttachedDetachedInvocation(callbacks, which);
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return nullptr;
}
}

Powered by Google App Engine
This is Rietveld 408576698