Fixing regression bug 155708, on Mac Classic, Acrobat stops painting PDFs because the timer stopped repeating r=bnesse sr=sfraser a=asa

This commit is contained in:
peterlubczynski%netscape.com 2002-07-30 00:22:49 +00:00
parent d4adb0de34
commit 5c754de32d

View File

@ -1087,7 +1087,7 @@ NS_IMETHODIMP pluginInstanceOwner :: CreateWidget(void)
// start a periodic timer to provide null events to the plugin instance.
mPluginTimer = do_CreateInstance("@mozilla.org/timer;1", &rv);
if (rv == NS_OK)
rv = mPluginTimer->Init(this, 1020 / 60);
rv = mPluginTimer->Init(this, 1020 / 60, PR_TRUE, NS_TYPE_REPEATING_SLACK);
#endif