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

Unified Diff: Source/core/svg/SVGScriptElement.cpp

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/svg/SVGScriptElement.h ('k') | Source/core/svg/animation/SMILTimeContainer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGScriptElement.cpp
diff --git a/Source/core/svg/SVGScriptElement.cpp b/Source/core/svg/SVGScriptElement.cpp
index 472000ecc687e9bf55350a939810439c85d7b277..f7489152f519765c58f43da02fe8633fa23007ed 100644
--- a/Source/core/svg/SVGScriptElement.cpp
+++ b/Source/core/svg/SVGScriptElement.cpp
@@ -190,7 +190,7 @@ void SVGScriptElement::dispatchLoadEvent()
dispatchEvent(Event::create(EventTypeNames::load));
}
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
bool SVGScriptElement::isAnimatableAttribute(const QualifiedName& name) const
{
if (name == SVGNames::typeAttr)
« no previous file with comments | « Source/core/svg/SVGScriptElement.h ('k') | Source/core/svg/animation/SMILTimeContainer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698