Bug 272288 Patch 3: Evaluate whether we should start animating, when SVG-as-image document finishes loading. r=roc a=roc
--- a/modules/libpr0n/src/VectorImage.cpp
+++ b/modules/libpr0n/src/VectorImage.cpp
@@ -682,16 +682,17 @@ VectorImage::OnStopRequest(nsIRequest* a
if (observer) {
// NOTE: This signals that width/height are available.
observer->OnStartContainer(nsnull, this);
observer->FrameChanged(this, &nsIntRect::GetMaxSizedIntRect());
observer->OnStopFrame(nsnull, 0);
observer->OnStopDecode(nsnull, NS_OK, nsnull);
}
+ EvaluateAnimation();
return rv;
}
//------------------------------------------------------------------------------
// nsIStreamListener method
//******************************************************************************