mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Revert "Guard task queue id for fuchsia (#26542)" (flutter/engine#29042)
This reverts commit 1692a5f722119bb6673eb36d5d4f3d98b208f189.
This commit is contained in:
parent
c5e762307b
commit
afaef07cac
@ -133,13 +133,8 @@ void VsyncWaiter::FireCallback(fml::TimePoint frame_start_time,
|
||||
|
||||
TRACE_FLOW_BEGIN("flutter", kVsyncFlowName, flow_identifier);
|
||||
|
||||
fml::TaskQueueId ui_task_queue_id = fml::_kUnmerged;
|
||||
if (pause_secondary_tasks) {
|
||||
// Guarding `GetTaskQueueId` behind `pause_secondary_tasks` as on Fuchsia
|
||||
// the task runners don't initialize message loop task queues.
|
||||
// Once the migration to embedder API is done, this can be deleted.
|
||||
ui_task_queue_id = task_runners_.GetUITaskRunner()->GetTaskQueueId();
|
||||
}
|
||||
fml::TaskQueueId ui_task_queue_id =
|
||||
task_runners_.GetUITaskRunner()->GetTaskQueueId();
|
||||
|
||||
task_runners_.GetUITaskRunner()->PostTask(
|
||||
[ui_task_queue_id, callback, flow_identifier, frame_start_time,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user