From 9a2c6b1f1e2a98cd5b5c24eedc43347fd333c89a Mon Sep 17 00:00:00 2001 From: Carmelo Messina Date: Fri, 19 May 2023 15:00:57 +0200 Subject: [PATCH] disable use of nanoseconds in events --- .../Disable-conversion-measurement-api.patch | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/build/patches/Disable-conversion-measurement-api.patch b/build/patches/Disable-conversion-measurement-api.patch index 667caf58..e383ee9c 100644 --- a/build/patches/Disable-conversion-measurement-api.patch +++ b/build/patches/Disable-conversion-measurement-api.patch @@ -22,7 +22,8 @@ License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html content/renderer/render_thread_impl.cc | 2 +- third_party/blink/common/features.cc | 8 ++++---- .../platform/runtime_enabled_features.json5 | 7 +++++++ - 11 files changed, 39 insertions(+), 31 deletions(-) + ui/base/ui_base_features.cc | 2 +- + 12 files changed, 40 insertions(+), 32 deletions(-) diff --git a/components/embedder_support/origin_trials/features.cc b/components/embedder_support/origin_trials/features.cc --- a/components/embedder_support/origin_trials/features.cc @@ -231,5 +232,16 @@ diff --git a/third_party/blink/renderer/platform/runtime_enabled_features.json5 { name: "AbortSignalAny", status: "experimental", +diff --git a/ui/base/ui_base_features.cc b/ui/base/ui_base_features.cc +--- a/ui/base/ui_base_features.cc ++++ b/ui/base/ui_base_features.cc +@@ -467,6 +467,6 @@ bool IsChromeRefresh2023() { + + BASE_FEATURE(kUseNanosecondsForMotionEvent, + "UseNanosecondsForMotionEvent", +- base::FEATURE_ENABLED_BY_DEFAULT); ++ base::FEATURE_DISABLED_BY_DEFAULT); + + } // namespace features -- 2.25.1