Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj
This commit is contained in:
@@ -228,14 +228,18 @@ nsAppShell::ProcessNextNativeEvent(bool mayWait)
|
||||
{
|
||||
EVLOG("nsAppShell::ProcessNextNativeEvent %d", mayWait);
|
||||
|
||||
PROFILER_LABEL("nsAppShell", "ProcessNextNativeEvent");
|
||||
PROFILER_LABEL("nsAppShell", "ProcessNextNativeEvent",
|
||||
js::ProfileEntry::Category::EVENTS);
|
||||
|
||||
nsAutoPtr<AndroidGeckoEvent> curEvent;
|
||||
{
|
||||
MutexAutoLock lock(mCondLock);
|
||||
|
||||
curEvent = PopNextEvent();
|
||||
if (!curEvent && mayWait) {
|
||||
PROFILER_LABEL("nsAppShell::ProcessNextNativeEvent", "Wait");
|
||||
PROFILER_LABEL("nsAppShell", "ProcessNextNativeEvent::Wait",
|
||||
js::ProfileEntry::Category::EVENTS);
|
||||
|
||||
// hmm, should we really hardcode this 10s?
|
||||
#if defined(DEBUG_ANDROID_EVENTS)
|
||||
PRTime t0, t1;
|
||||
|
||||
Reference in New Issue
Block a user