зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
187edcd4a3
Коммит
ebb722b08a
|
@ -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
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче