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

Unified Diff: third_party/WebKit/Source/core/events/PointerEvent.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/PointerEvent.cpp
diff --git a/third_party/WebKit/Source/core/events/PointerEvent.cpp b/third_party/WebKit/Source/core/events/PointerEvent.cpp
index 9d0adc50b28c32cae72d0823e2f616125c877fb3..31c256ed385d4dae122372d12cfee8387ff6ba0f 100644
--- a/third_party/WebKit/Source/core/events/PointerEvent.cpp
+++ b/third_party/WebKit/Source/core/events/PointerEvent.cpp
@@ -80,7 +80,7 @@ DispatchEventResult PointerEventDispatchMediator::dispatchEvent(EventDispatcher&
if (event().type().isEmpty())
return DispatchEventResult::NotCanceled; // Shouldn't happen.
- ASSERT(!event().target() || event().target() != event().relatedTarget());
+ DCHECK(!event().target() || event().target() != event().relatedTarget());
event().eventPath().adjustForRelatedTarget(dispatcher.node(), event().relatedTarget());
« no previous file with comments | « third_party/WebKit/Source/core/events/NodeEventContext.cpp ('k') | third_party/WebKit/Source/core/events/PopStateEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698