зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1680544 - Part 3: Do not log runnables coming from TaskController. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D98646
This commit is contained in:
Родитель
e9ccb2eec1
Коммит
d7db260690
|
@ -1173,7 +1173,11 @@ nsThread::ProcessNextEvent(bool aMayWait, bool* aResult) {
|
|||
|
||||
LOG(("THRD(%p) running [%p]\n", this, event.get()));
|
||||
|
||||
LogRunnable::Run log(event);
|
||||
Maybe<LogRunnable::Run> log;
|
||||
|
||||
if (!usingTaskController) {
|
||||
log.emplace(event);
|
||||
}
|
||||
|
||||
// Delay event processing to encourage whoever dispatched this event
|
||||
// to run.
|
||||
|
|
Загрузка…
Ссылка в новой задаче