helium/core: fix chrome.instanceID.getID() hanging (#449)

This commit is contained in:
jj
2025-11-13 20:00:13 +01:00
committed by GitHub
parent 0f9df28d13
commit 9f7755dbd7
2 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
--- a/components/gcm_driver/instance_id/instance_id_impl.cc
+++ b/components/gcm_driver/instance_id/instance_id_impl.cc
@@ -263,9 +263,6 @@ gcm::InstanceIDHandler* InstanceIDImpl::
}
void InstanceIDImpl::RunWhenReady(base::OnceClosure task) {
- if (!delayed_task_controller_.CanRunTaskWithoutDelay())
- delayed_task_controller_.AddTask(std::move(task));
- else
base::SingleThreadTaskRunner::GetCurrentDefault()->PostTask(
FROM_HERE, std::move(task));
}

View File

@@ -149,6 +149,7 @@ helium/core/enable-tab-search-toolbar-button.patch
helium/core/clean-context-menu.patch
helium/core/split-view.patch
helium/core/fix-tab-sync-unreached-error.patch
helium/core/fix-instance-id-stuck.patch
helium/core/flags-setup.patch
helium/core/add-low-power-framerate-flag.patch