mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 610216 - Fix build bustage when SMIL is disabled. r=dholbert a=bustage
This commit is contained in:
parent
669ff953e8
commit
b6a36b5882
@ -177,7 +177,9 @@ SVGDocumentWrapper::StartAnimation()
|
||||
{
|
||||
nsIDocument* doc = mViewer->GetDocument();
|
||||
if (doc) {
|
||||
#ifdef MOZ_SMIL
|
||||
doc->GetAnimationController()->Resume(nsSMILTimeContainer::PAUSE_IMAGE);
|
||||
#endif // MOZ_SMIL
|
||||
doc->SetImagesNeedAnimating(PR_TRUE);
|
||||
}
|
||||
}
|
||||
@ -194,7 +196,9 @@ SVGDocumentWrapper::StopAnimation()
|
||||
|
||||
nsIDocument* doc = mViewer->GetDocument();
|
||||
if (doc) {
|
||||
#ifdef MOZ_SMIL
|
||||
doc->GetAnimationController()->Pause(nsSMILTimeContainer::PAUSE_IMAGE);
|
||||
#endif // MOZ_SMIL
|
||||
doc->SetImagesNeedAnimating(PR_FALSE);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user