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

Unified Diff: third_party/WebKit/Source/core/dom/MainThreadTaskRunner.cpp

Issue 1854423002: ASSERT -> {DCHECK|DCHECK_XX}, ENABLE(ASSERT) -> DCHECK_IS_ON() in dom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mark svg/as-image/svg-nested.html crash on win Created 4 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/core/dom/MainThreadTaskRunner.cpp
diff --git a/third_party/WebKit/Source/core/dom/MainThreadTaskRunner.cpp b/third_party/WebKit/Source/core/dom/MainThreadTaskRunner.cpp
index 9866e72a66d7892b236bddebfc689fcf66863911..2c0df118fc4eab25a8239b36ea6c5d7bc6a060fb 100644
--- a/third_party/WebKit/Source/core/dom/MainThreadTaskRunner.cpp
+++ b/third_party/WebKit/Source/core/dom/MainThreadTaskRunner.cpp
@@ -92,14 +92,14 @@ void MainThreadTaskRunner::perform(PassOwnPtr<ExecutionContextTask> task, bool i
void MainThreadTaskRunner::suspend()
{
- ASSERT(!m_suspended);
+ DCHECK(!m_suspended);
m_pendingTasksTimer.stop();
m_suspended = true;
}
void MainThreadTaskRunner::resume()
{
- ASSERT(m_suspended);
+ DCHECK(m_suspended);
if (!m_pendingTasks.isEmpty())
m_pendingTasksTimer.startOneShot(0, BLINK_FROM_HERE);
« no previous file with comments | « third_party/WebKit/Source/core/dom/LiveNodeListBase.h ('k') | third_party/WebKit/Source/core/dom/MessageChannel.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698