Bug 1462784 - Add an IDLE category. r=njn

MozReview-Commit-ID: JJ30AhXofBr
This commit is contained in:
Markus Stange
2018-05-18 18:15:46 -04:00
parent 346a27ac58
commit 4322373d83
2 changed files with 2 additions and 1 deletions

View File

@@ -726,7 +726,7 @@ nsAppShell::ProcessNextNativeEvent(bool mayWait)
}
AUTO_PROFILER_LABEL("nsAppShell::ProcessNextNativeEvent:Wait",
OTHER);
IDLE);
mozilla::HangMonitor::Suspend();
curEvent = mEventQueue.Pop(/* mayWait */ true);