зеркало из https://github.com/mozilla/gecko-dev.git
fix BeOS bustage (this code not in the mac/win/unix builds)
This commit is contained in:
Родитель
0d26acf3ed
Коммит
72386f4119
|
@ -2014,14 +2014,14 @@ else
|
|||
#endif
|
||||
|
||||
#ifndef REPEATING_TIMERS
|
||||
if (mTimer)
|
||||
if (bmks->mTimer)
|
||||
{
|
||||
mTimer->Cancel();
|
||||
mTimer = nsnull;
|
||||
bmks->mTimer->Cancel();
|
||||
bmks->mTimer = nsnull;
|
||||
}
|
||||
mTimer = do_CreateInstance("@mozilla.org/timer;1", &rv);
|
||||
if (NS_FAILED(rv) || (!mTimer)) return;
|
||||
mTimer->Init(nsBookmarksService::FireTimer, bmks, BOOKMARK_TIMEOUT, NS_PRIORITY_LOWEST, NS_TYPE_REPEATING_SLACK);
|
||||
bmks->mTimer->Init(nsBookmarksService::FireTimer, bmks, BOOKMARK_TIMEOUT, NS_PRIORITY_LOWEST, NS_TYPE_REPEATING_SLACK);
|
||||
// Note: don't addref "this" as we'll cancel the timer in the nsBookmarkService destructor
|
||||
#endif
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче