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

Unified Diff: third_party/WebKit/Source/core/events/Event.h

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/Event.h
diff --git a/third_party/WebKit/Source/core/events/Event.h b/third_party/WebKit/Source/core/events/Event.h
index 686d0a94768d1c9bbaee3e62dc4ddb3a02783177..0be18533489aa8d75c3b09fe6e496bf46fe56779 100644
--- a/third_party/WebKit/Source/core/events/Event.h
+++ b/third_party/WebKit/Source/core/events/Event.h
@@ -194,7 +194,7 @@ public:
void setUnderlyingEvent(Event*);
bool hasEventPath() { return m_eventPath; }
- EventPath& eventPath() { ASSERT(m_eventPath); return *m_eventPath; }
+ EventPath& eventPath() { DCHECK(m_eventPath); return *m_eventPath; }
void initEventPath(Node&);
HeapVector<Member<EventTarget>> path(ScriptState*) const;
« no previous file with comments | « third_party/WebKit/Source/core/events/ErrorEvent.cpp ('k') | third_party/WebKit/Source/core/events/Event.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698