зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1476514 dispatch ConsoleProfileWorkletRunnables to main thread rather than worklet thread r=baku
This is consistent with ConsoleCallDataWorkletRunnable queuing and enables ConsoleProfileWorkletRunnable::RunOnMainThread() to run. Depends on D13210 Differential Revision: https://phabricator.services.mozilla.com/D13211 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
9db064fcec
Коммит
ffd18ba6eb
|
@ -1385,7 +1385,7 @@ Console::ProfileMethodInternal(JSContext* aCx, MethodName aMethodName,
|
|||
return;
|
||||
}
|
||||
|
||||
WorkletThread::Get()->DispatchRunnable(runnable.forget());
|
||||
NS_DispatchToMainThread(runnable.forget());
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче