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

git-svn-id: svn://10.0.0.236/trunk@126033 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterlubczynski%netscape.com
2002-07-30 00:22:49 +00:00
parent f73fdc44df
commit 13d1a60063

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