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

Unified Diff: Source/core/svg/SVGElement.h

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed config.gni. Minor cleanups. 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/svg/SVGElement.h
diff --git a/Source/core/svg/SVGElement.h b/Source/core/svg/SVGElement.h
index 3e6426d99ca9a69d290e23b844a0621deee1dab5..557d365c94fd9a527d96e1f7a2dea1da25500632 100644
--- a/Source/core/svg/SVGElement.h
+++ b/Source/core/svg/SVGElement.h
@@ -130,7 +130,7 @@ public:
virtual void synchronizeRequiredExtensions() { }
virtual void synchronizeSystemLanguage() { }
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
virtual bool isAnimatableAttribute(const QualifiedName&) const;
#endif
@@ -237,7 +237,7 @@ private:
typedef HashMap<QualifiedName, RefPtr<SVGAnimatedPropertyBase> > AttributeToPropertyMap;
AttributeToPropertyMap m_newAttributeToPropertyMap;
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
bool m_inRelativeLengthClientsInvalidation;
#endif
unsigned m_isContextElement : 1;

Powered by Google App Engine
This is Rietveld 408576698