
Use base::MessagePumpType::NS_RUNLOOP instead of base::MessagePumpType::DEFAULT for Headless main_thread_task_executor on the CrGpuMain thread. CADisplayLink will not work without NS_RUNLOOP. Regressions are reported in CL5894417: Revert "Enable CADisplayLink in fieldtrial_testing_config." | https://chromium-review.googlesource.com/c/chromium/src/+/5894417 Bug: 345275139 Change-Id: I3821bb336ce9b86b5e41441211a303ac4402662f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5898112 Reviewed-by: ccameron chromium <ccameron@chromium.org> Commit-Queue: Maggie Chen <magchen@chromium.org> Reviewed-by: Zhenyao Mo <zmo@chromium.org> Cr-Commit-Position: refs/heads/main@{#1362633}