From 9f7755dbd7dc7bfe46c26151d5a596fb6804b022 Mon Sep 17 00:00:00 2001 From: jj Date: Thu, 13 Nov 2025 20:00:13 +0100 Subject: [PATCH] helium/core: fix chrome.instanceID.getID() hanging (#449) --- patches/helium/core/fix-instance-id-stuck.patch | 12 ++++++++++++ patches/series | 1 + 2 files changed, 13 insertions(+) create mode 100644 patches/helium/core/fix-instance-id-stuck.patch diff --git a/patches/helium/core/fix-instance-id-stuck.patch b/patches/helium/core/fix-instance-id-stuck.patch new file mode 100644 index 00000000..fa893d56 --- /dev/null +++ b/patches/helium/core/fix-instance-id-stuck.patch @@ -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)); + } diff --git a/patches/series b/patches/series index c15e45b7..b6814c2a 100644 --- a/patches/series +++ b/patches/series @@ -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