зеркало из https://github.com/mozilla/gecko-dev.git
Speeding up cocoa by increasing the frequency of the timer. Not part of build.
This commit is contained in:
Родитель
de0c335ab3
Коммит
fde867884c
|
@ -96,7 +96,7 @@ static PRUintn gToolkitTLSIndex = 0;
|
||||||
mEventQueueService = service.get();
|
mEventQueueService = service.get();
|
||||||
NS_IF_ADDREF(mEventQueueService);
|
NS_IF_ADDREF(mEventQueueService);
|
||||||
|
|
||||||
mEventTimer = [NSTimer scheduledTimerWithTimeInterval:0.1 target:self selector:@selector(eventTimer:) userInfo:nil
|
mEventTimer = [NSTimer scheduledTimerWithTimeInterval:0.01 target:self selector:@selector(eventTimer:) userInfo:nil
|
||||||
repeats:YES];
|
repeats:YES];
|
||||||
NS_ASSERTION(mEventTimer, "UH OH! couldn't create periodic event processing timer");
|
NS_ASSERTION(mEventTimer, "UH OH! couldn't create periodic event processing timer");
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче