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

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

Issue 2587913002: Rename activeDOMObjectsAreSuspended to isContextSuspended (Closed)
Patch Set: temp Created 4 years 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 228dcb8250cfe92278ea6d8d1361c962028fe6f3..2b2e2c63ba0f7dbd2931c5bdcaaf30c7d8f935e8 100644
--- a/third_party/WebKit/Source/core/frame/DOMTimer.cpp
+++ b/third_party/WebKit/Source/core/frame/DOMTimer.cpp
@@ -135,7 +135,7 @@ void DOMTimer::fired() {
ExecutionContext* context = getExecutionContext();
ASSERT(context);
context->timers()->setTimerNestingLevel(m_nestingLevel);
- ASSERT(!context->activeDOMObjectsAreSuspended());
+ DCHECK(!context->isContextSuspended());
// Only the first execution of a multi-shot timer should get an affirmative
// user gesture indicator.
UserGestureIndicator gestureIndicator(m_userGestureToken.release());

Powered by Google App Engine
This is Rietveld 408576698