NS_RELEASE(mTimer);  nsresult rv = NS_NewTimer(&mTimer); if (NS_OK == rv) { mTimer->Init(throb_timer_callback, this, 33); }
nsThrobber::Tick(){  if (mRunning) {    mIndex++;    if (mIndex >= mNumImages)      mIndex = 0;    mWidget->Invalidate(PR_TRUE);  } else if (mCompletedImages == (PRUint32)mNumImages) {    mWidget->Invalidate(PR_TRUE);    mCompletedImages = 0;  }  NS_RELEASE(mTimer);  nsresult rv = NS_NewTimer(&mTimer);  if (NS_OK == rv) {    mTimer->Init(throb_timer_callback, this, 33);  }}