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

Unified Diff: third_party/WebKit/Source/core/events/NodeEventContext.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/NodeEventContext.cpp
diff --git a/third_party/WebKit/Source/core/events/NodeEventContext.cpp b/third_party/WebKit/Source/core/events/NodeEventContext.cpp
index 3d6e52f851fc1575b07e44046df86ee6266e9a1b..d022990334d459072ce469e3470cd677aa76aef9 100644
--- a/third_party/WebKit/Source/core/events/NodeEventContext.cpp
+++ b/third_party/WebKit/Source/core/events/NodeEventContext.cpp
@@ -38,7 +38,7 @@ NodeEventContext::NodeEventContext(Node* node, EventTarget* currentTarget)
: m_node(node)
, m_currentTarget(currentTarget)
{
- ASSERT(m_node);
+ DCHECK(m_node);
}
DEFINE_TRACE(NodeEventContext)
« no previous file with comments | « third_party/WebKit/Source/core/events/NodeEventContext.h ('k') | third_party/WebKit/Source/core/events/PointerEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698