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

Unified Diff: Source/core/events/EventSender.h

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. Created 6 years, 5 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
« no previous file with comments | « Source/core/events/EventPath.cpp ('k') | Source/core/events/TreeScopeEventContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/EventSender.h
diff --git a/Source/core/events/EventSender.h b/Source/core/events/EventSender.h
index b5da763e59b6db3b624e8bef9636985cf6fee7dd..2fe64517039f19ff3de997031bc2ddb2ff5fc158 100644
--- a/Source/core/events/EventSender.h
+++ b/Source/core/events/EventSender.h
@@ -42,7 +42,7 @@ public:
void cancelEvent(T*);
void dispatchPendingEvents();
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
bool hasPendingEvents(T* sender) const
{
return m_dispatchSoonList.find(sender) != kNotFound || m_dispatchingList.find(sender) != kNotFound;
« no previous file with comments | « Source/core/events/EventPath.cpp ('k') | Source/core/events/TreeScopeEventContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698