зеркало из https://github.com/mozilla/gecko-dev.git
Bug 594952 - Fix compilation of SVGDocumentWrapper.cpp when SMIL is disabled. r=dholbert a2.0=bustage
This commit is contained in:
Родитель
a013a3e442
Коммит
a1d45586a0
|
@ -163,9 +163,13 @@ SVGDocumentWrapper::UpdateViewportBounds(const nsIntSize& aViewportSize)
|
|||
PRBool
|
||||
SVGDocumentWrapper::IsAnimated()
|
||||
{
|
||||
#ifdef MOZ_SMIL
|
||||
nsIDocument* doc = mViewer->GetDocument();
|
||||
return doc && doc->HasAnimationController() &&
|
||||
doc->GetAnimationController()->HasRegisteredAnimations();
|
||||
#else
|
||||
return PR_FALSE;
|
||||
#endif // MOZ_SMIL
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Загрузка…
Ссылка в новой задаче