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

Unified Diff: Source/core/dom/NoEventDispatchAssertion.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/dom/Element.cpp ('k') | Source/core/dom/Node.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/NoEventDispatchAssertion.h
diff --git a/Source/core/dom/NoEventDispatchAssertion.h b/Source/core/dom/NoEventDispatchAssertion.h
index a495212c2751f15adc5a56a12872704e48ad220f..17284891e0ed6ba9f12ff4b4c0848a1d1b3e9bc5 100644
--- a/Source/core/dom/NoEventDispatchAssertion.h
+++ b/Source/core/dom/NoEventDispatchAssertion.h
@@ -10,7 +10,7 @@
namespace WebCore {
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
class NoEventDispatchAssertion {
public:
@@ -69,7 +69,7 @@ public:
};
};
-#endif // NDEBUG
+#endif // ENABLE(ASSERT)
} // namespace WebCore
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/dom/Node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698