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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.cpp

Issue 2817533003: Replace ASSERT, RELEASE_ASSERT, and ASSERT_NOT_REACHED in bindings (Closed)
Patch Set: fixed dcheck build error Created 3 years, 8 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/bindings/core/v8/ScriptPromiseResolver.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.cpp
index b62cd9a2e7b1bbb79bf90b3ee69430fab80ed048..fd86dcf86b5728d02721b5b517821b398e2bc00d 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.cpp
@@ -58,7 +58,7 @@ void ScriptPromiseResolver::KeepAliveWhilePending() {
}
void ScriptPromiseResolver::OnTimerFired(TimerBase*) {
- ASSERT(state_ == kResolving || state_ == kRejecting);
+ DCHECK(state_ == kResolving || state_ == kRejecting);
if (!GetScriptState()->ContextIsValid()) {
Detach();
return;

Powered by Google App Engine
This is Rietveld 408576698