summaryrefslogtreecommitdiff
path: root/www/chromium-uc/patches/core/ungoogled-chromium/disable-gcm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium-uc/patches/core/ungoogled-chromium/disable-gcm.patch')
-rw-r--r--www/chromium-uc/patches/core/ungoogled-chromium/disable-gcm.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/chromium-uc/patches/core/ungoogled-chromium/disable-gcm.patch b/www/chromium-uc/patches/core/ungoogled-chromium/disable-gcm.patch
index 7838c20..bafa024 100644
--- a/www/chromium-uc/patches/core/ungoogled-chromium/disable-gcm.patch
+++ b/www/chromium-uc/patches/core/ungoogled-chromium/disable-gcm.patch
@@ -1,7 +1,7 @@
1# Disable Google Cloud Messaging (GCM) client 1# Disable Google Cloud Messaging (GCM) client
2 2
3--- a/components/gcm_driver/gcm_client_impl.cc 3--- components/gcm_driver/gcm_client_impl.cc.orig
4+++ b/components/gcm_driver/gcm_client_impl.cc 4+++ components/gcm_driver/gcm_client_impl.cc
5@@ -465,6 +465,7 @@ void GCMClientImpl::StartGCM() { 5@@ -465,6 +465,7 @@ void GCMClientImpl::StartGCM() {
6 6
7 void GCMClientImpl::InitializeMCSClient() { 7 void GCMClientImpl::InitializeMCSClient() {
@@ -52,7 +52,7 @@
52- periodic_checkin_ptr_factory_.InvalidateWeakPtrs(); 52- periodic_checkin_ptr_factory_.InvalidateWeakPtrs();
53- 53-
54- base::TimeDelta time_to_next_checkin = GetTimeToNextCheckin(); 54- base::TimeDelta time_to_next_checkin = GetTimeToNextCheckin();
55- if (time_to_next_checkin.is_negative()) 55- if (time_to_next_checkin < base::TimeDelta())
56- time_to_next_checkin = base::TimeDelta(); 56- time_to_next_checkin = base::TimeDelta();
57- 57-
58- io_task_runner_->PostDelayedTask( 58- io_task_runner_->PostDelayedTask(