if (!mTimer) { nsresult result; mTimer = do_CreateInstance("@mozilla.org/timer;1", &result);  if (NS_FAILED(result)) return result; }  return mTimer->Init(this, mDelay, NS_PRIORITY_NORMAL, NS_TYPE_REPEATING_SLACK);
return startTimer();
  nsresult Start(DocumentViewerImpl* aDocViewerImpl,                  nsIPresContext*     aPresContext,                 nsIPrintOptions*    aPrintOptions,                 PRUint32            aDelay)   {    Init(aDocViewerImpl, aPresContext, aPrintOptions, aDelay);    if (!mTimer) {      nsresult result;      mTimer = do_CreateInstance("@mozilla.org/timer;1", &result);      if (NS_FAILED(result))        return result;    }    return mTimer->Init(this, mDelay, NS_PRIORITY_NORMAL, NS_TYPE_REPEATING_SLACK);  }