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

Unified Diff: third_party/WebKit/Source/core/events/EventDispatcher.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/EventDispatcher.h
diff --git a/third_party/WebKit/Source/core/events/EventDispatcher.h b/third_party/WebKit/Source/core/events/EventDispatcher.h
index 678d14ee6664af07c250d4714788dc5658190cf8..e9a4557687fa0191b494e49949d0e3e8eb6dcb61 100644
--- a/third_party/WebKit/Source/core/events/EventDispatcher.h
+++ b/third_party/WebKit/Source/core/events/EventDispatcher.h
@@ -76,8 +76,8 @@ private:
Member<Node> m_node;
Member<Event> m_event;
Member<FrameView> m_view;
-#if ENABLE(ASSERT)
- bool m_eventDispatched;
+#if DCHECK_IS_ON()
+ bool m_eventDispatched = false;
#endif
};

Powered by Google App Engine
This is Rietveld 408576698