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

Unified Diff: third_party/WebKit/Source/core/events/GenericEventQueue.cpp

Issue 2270293002: Replace ASSERT*() with DCHECK*() in core/events/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: isUnreachableNode -> checkReachableNode Created 4 years, 4 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/events/GenericEventQueue.cpp
diff --git a/third_party/WebKit/Source/core/events/GenericEventQueue.cpp b/third_party/WebKit/Source/core/events/GenericEventQueue.cpp
index caadf9db7a79b8c5700fb7d3b89f8f5fa8439662..cc3e2b4545f6cad0460d2af925e1e1ca6b61243b 100644
--- a/third_party/WebKit/Source/core/events/GenericEventQueue.cpp
+++ b/third_party/WebKit/Source/core/events/GenericEventQueue.cpp
@@ -92,8 +92,8 @@ bool GenericEventQueue::cancelEvent(Event* event)
void GenericEventQueue::timerFired(TimerBase*)
{
- ASSERT(!m_timer.isActive());
- ASSERT(!m_pendingEvents.isEmpty());
+ DCHECK(!m_timer.isActive());
+ DCHECK(!m_pendingEvents.isEmpty());
HeapVector<Member<Event>> pendingEvents;
m_pendingEvents.swap(pendingEvents);
« no previous file with comments | « third_party/WebKit/Source/core/events/EventTarget.cpp ('k') | third_party/WebKit/Source/core/events/GestureEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698