FixUpPluginWindow();
NS_IMETHODIMP nsPluginInstanceOwner::Notify(nsITimer* /* timer */){#ifdef XP_MAC    // validate the plugin clipping information by syncing the plugin window info to    // reflect the current widget location. This makes sure that everything is updated    // correctly in the event of scrolling in the window.    FixUpPluginWindow();    if (mInstance != NULL) {        EventRecord idleEvent;        InitializeEventRecord(&idleEvent);        idleEvent.what = nullEvent;        // give a bogus 'where' field of our null event when hidden, so Flash        // won't respond to mouse moves in other tabs, see bug 120875        if (!mWidgetVisible)          idleEvent.where.h = idleEvent.where.v = 20000;                nsPluginPort* pluginPort = GetPluginPort();        nsPluginEvent pluginEvent = { &idleEvent, nsPluginPlatformWindowRef(pluginPort->port) };                PRBool eventHandled = PR_FALSE;        mInstance->HandleEvent(&pluginEvent, &eventHandled);    }#endif#ifndef REPEATING_TIMERS  // reprime the timer? currently have to create a new timer for each call, which is  // kind of wasteful. need to get periodic timers working on all platforms.  nsresult rv;  mPluginTimer = do_CreateInstance("@mozilla.org/timer;1", &rv);  if (NS_SUCCEEDED(rv))    mPluginTimer->InitWithCallback(this, 1020 / 60, nsITimer::TYPE_ONE_SHOT);#endif  return NS_OK;}