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

Unified Diff: third_party/WebKit/Source/core/events/EventDispatchMediator.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/EventDispatchMediator.h
diff --git a/third_party/WebKit/Source/core/events/EventDispatchMediator.h b/third_party/WebKit/Source/core/events/EventDispatchMediator.h
index b3ce9e4d404f5972eb4a8ab24684f022138ae836..746e9e09d8e7a6514e9a35b0b806e6f15e3f4e91 100644
--- a/third_party/WebKit/Source/core/events/EventDispatchMediator.h
+++ b/third_party/WebKit/Source/core/events/EventDispatchMediator.h
@@ -51,7 +51,7 @@ public:
protected:
explicit EventDispatchMediator(Event*);
EventDispatchMediator() { }
- void setEvent(Event* event) { ASSERT(event); m_event = event; }
+ void setEvent(Event* event) { DCHECK(event); m_event = event; }
private:
Member<Event> m_event;
« no previous file with comments | « third_party/WebKit/Source/core/events/Event.cpp ('k') | third_party/WebKit/Source/core/events/EventDispatchMediator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698