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

Unified Diff: Source/core/svg/SVGDocumentExtensions.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/SVGDocumentExtensions.cpp
diff --git a/Source/core/svg/SVGDocumentExtensions.cpp b/Source/core/svg/SVGDocumentExtensions.cpp
index e5489b3ee23d2a142c7379f9e38e515f1831f73b..eae90b8c4faf2017d051412678c48fb7ec68594e 100644
--- a/Source/core/svg/SVGDocumentExtensions.cpp
+++ b/Source/core/svg/SVGDocumentExtensions.cpp
@@ -84,7 +84,7 @@ LayoutSVGResourceContainer* SVGDocumentExtensions::resourceById(const AtomicStri
void SVGDocumentExtensions::serviceOnAnimationFrame(Document& document, double monotonicAnimationStartTime)
{
- if (!document.svgExtensions())
+ if (!document.svgExtensions() || !RuntimeEnabledFeatures::sMILEnabled())
return;
document.accessSVGExtensions().serviceAnimations(monotonicAnimationStartTime);
}

Powered by Google App Engine
This is Rietveld 408576698