if ((mLoaded || mStopped) && mPresContext) mPresContext->SetImageAnimationMode(imgIContainer::kDontAnimMode);  mStopped = PR_TRUE;  if (!mLoaded && mPresShell) {  mPresShell->UnsuppressPainting(); }  return NS_OK; }
  void Stop()  {    if (mTimer) {      mTimer->Cancel();      mTimer = nsnull;    }  }