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

Unified Diff: third_party/WebKit/Source/core/events/EventDispatchMediator.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/EventDispatchMediator.cpp
diff --git a/third_party/WebKit/Source/core/events/EventDispatchMediator.cpp b/third_party/WebKit/Source/core/events/EventDispatchMediator.cpp
index 7c6ea425016f8fe8bb458bddcfc4a161d900ede5..349887713a92d317e888e848c3fc467a812c5f91 100644
--- a/third_party/WebKit/Source/core/events/EventDispatchMediator.cpp
+++ b/third_party/WebKit/Source/core/events/EventDispatchMediator.cpp
@@ -52,7 +52,7 @@ DEFINE_TRACE(EventDispatchMediator)
DispatchEventResult EventDispatchMediator::dispatchEvent(EventDispatcher& dispatcher) const
{
- ASSERT(m_event.get() == &dispatcher.event());
+ DCHECK_EQ(m_event.get(), &dispatcher.event());
return dispatcher.dispatch();
}
« no previous file with comments | « third_party/WebKit/Source/core/events/EventDispatchMediator.h ('k') | third_party/WebKit/Source/core/events/EventDispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698