if ( !mShowTooltips )
if ( !sShowTooltips )
XULPopupListenerImpl::MouseMove(nsIDOMEvent* aMouseEvent){  // make sure we're a tooltip. if not, bail.  if ( popupType != eXULPopupType_tooltip )    return NS_OK;    nsCOMPtr<nsIDOMMouseEvent> mouseEvent ( do_QueryInterface(aMouseEvent) );  if (!mouseEvent)    return NS_OK;  // don't kick off the timer or do any hard work if the pref is turned off  if ( !mShowTooltips )    return NS_OK;    // stash the coordinates of the event so that we can still get back to it from within the   // timer callback. On win32, we'll get a MouseMove event even when a popup goes away --  // even when the mouse doesn't change position! To get around this, we make sure the  // mouse has really moved before proceeding.  PRInt32 newMouseX, newMouseY;  mouseEvent->GetClientX(&newMouseX);  mouseEvent->GetClientY(&newMouseY);  if ( mMouseClientX == newMouseX && mMouseClientY == newMouseY )    return NS_OK;  mMouseClientX = newMouseX; mMouseClientY = newMouseY;  // as the mouse moves, we want to make sure we reset the timer to show it,   // so that the delay is from when the mouse stops moving, not when it enters  // the node.  KillTooltipTimer();      // If the mouse moves while the popup is up, don't do anything. We make it  // go away only if it times out or leaves the tooltip node. If nothing is  // showing, though, we have to do the work. We can tell if we have a popup  // showing because |mPopupContent| will be non-null.  if ( !mPopupContent ) {    mTooltipTimer = do_CreateInstance("@mozilla.org/timer;1");    if ( mTooltipTimer ) {      nsCOMPtr<nsIDOMEventTarget> eventTarget;      aMouseEvent->GetTarget(getter_AddRefs(eventTarget));      if ( eventTarget )        mPossibleTooltipNode = do_QueryInterface(eventTarget);      if ( mPossibleTooltipNode ) {        nsresult rv = mTooltipTimer->Init(sTooltipCallback, this, kTooltipShowTime, NS_PRIORITY_HIGH);        if (NS_FAILED(rv))          mPossibleTooltipNode = nsnull;      }    }    else      NS_WARNING ( "Could not create a timer for tooltip tracking" );  }     return NS_OK;  } // MouseMove