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

Unified Diff: third_party/WebKit/Source/core/frame/DOMTimer.cpp

Issue 2858963002: Replace ASSERT with DCHECK in core/ (Closed)
Patch Set: WorkerBackingThread Created 3 years, 7 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/frame/DOMTimer.cpp
diff --git a/third_party/WebKit/Source/core/frame/DOMTimer.cpp b/third_party/WebKit/Source/core/frame/DOMTimer.cpp
index e527576461c0599bedf7597e79de672dd7f5ce41..40d6a6c3a2f4c1a332c69fbc68db3fd8faae7e65 100644
--- a/third_party/WebKit/Source/core/frame/DOMTimer.cpp
+++ b/third_party/WebKit/Source/core/frame/DOMTimer.cpp
@@ -133,7 +133,7 @@ void DOMTimer::ContextDestroyed(ExecutionContext*) {
void DOMTimer::Fired() {
ExecutionContext* context = GetExecutionContext();
- ASSERT(context);
+ DCHECK(context);
context->Timers()->SetTimerNestingLevel(nesting_level_);
DCHECK(!context->IsContextSuspended());
// Only the first execution of a multi-shot timer should get an affirmative
« no previous file with comments | « third_party/WebKit/Source/core/css/SelectorFilter.cpp ('k') | third_party/WebKit/Source/core/frame/DOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698