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

Unified Diff: Source/core/dom/Element.h

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased after ENABLE(ASSERT) renaming. 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
Index: Source/core/dom/Element.h
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
index 1db22ca678b2acf1fc66cf303c521f29742eb25b..102736f0c75a238e3e2a05869e49cc1ebe179f24 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -132,7 +132,7 @@ public:
// attribute or one of the SVG animatable attributes.
bool fastHasAttribute(const QualifiedName&) const;
const AtomicString& fastGetAttribute(const QualifiedName&) const;
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
bool fastAttributeLookupAllowed(const QualifiedName&) const;
#endif

Powered by Google App Engine
This is Rietveld 408576698