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

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

Issue 1251983005: Flag to disable SMIL support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: animateTransform Created 5 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/SVGDiscardElement.cpp
diff --git a/Source/core/svg/SVGDiscardElement.cpp b/Source/core/svg/SVGDiscardElement.cpp
index 53198343460ed833acdd0aa380c48b3fa0cf2437..a06649f3e30a2ef8a2cb04c810aca75e04015b51 100644
--- a/Source/core/svg/SVGDiscardElement.cpp
+++ b/Source/core/svg/SVGDiscardElement.cpp
@@ -38,6 +38,7 @@ namespace blink {
inline SVGDiscardElement::SVGDiscardElement(Document& document)
: SVGSMILElement(SVGNames::discardTag, document)
{
+ ASSERT(RuntimeEnabledFeatures::sMILEnabled());
}
DEFINE_NODE_FACTORY(SVGDiscardElement)

Powered by Google App Engine
This is Rietveld 408576698