Skip to content

Commit 40ec490

Browse files
authored
Revert "Guard task queue id for fuchsia (flutter#26542)" (flutter#29042)
This reverts commit 60ffab0.
1 parent 80d0600 commit 40ec490

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

shell/common/vsync_waiter.cc

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -133,13 +133,8 @@ void VsyncWaiter::FireCallback(fml::TimePoint frame_start_time,
133133

134134
TRACE_FLOW_BEGIN("flutter", kVsyncFlowName, flow_identifier);
135135

136-
fml::TaskQueueId ui_task_queue_id = fml::_kUnmerged;
137-
if (pause_secondary_tasks) {
138-
// Guarding `GetTaskQueueId` behind `pause_secondary_tasks` as on Fuchsia
139-
// the task runners don't initialize message loop task queues.
140-
// Once the migration to embedder API is done, this can be deleted.
141-
ui_task_queue_id = task_runners_.GetUITaskRunner()->GetTaskQueueId();
142-
}
136+
fml::TaskQueueId ui_task_queue_id =
137+
task_runners_.GetUITaskRunner()->GetTaskQueueId();
143138

144139
task_runners_.GetUITaskRunner()->PostTask(
145140
[ui_task_queue_id, callback, flow_identifier, frame_start_time,

0 commit comments

Comments
 (0)