From ab6faeaed9f74b3daf47f2a37b5dac3626efb3d8 Mon Sep 17 00:00:00 2001 From: wukko Date: Wed, 15 Oct 2025 14:11:45 +0600 Subject: [PATCH] patches: refresh for chromium 141.0.7390.107 --- patches/helium/core/add-native-bangs.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/patches/helium/core/add-native-bangs.patch b/patches/helium/core/add-native-bangs.patch index d3f7fabd..96a6e869 100644 --- a/patches/helium/core/add-native-bangs.patch +++ b/patches/helium/core/add-native-bangs.patch @@ -796,7 +796,7 @@ #endif // COMPONENTS_HELIUM_SERVICES_PREF_NAMES_H_ --- a/components/omnibox/browser/omnibox_edit_model.cc +++ b/components/omnibox/browser/omnibox_edit_model.cc -@@ -824,6 +824,17 @@ bool OmniboxEditModel::AcceptKeyword( +@@ -826,6 +826,17 @@ bool OmniboxEditModel::AcceptKeyword( controller_->StopAutocomplete(/*clear_result=*/false); @@ -814,7 +814,7 @@ is_keyword_hint_ = false; keyword_mode_entry_method_ = entry_method; if (original_user_text_with_keyword_.empty()) { -@@ -866,9 +877,6 @@ bool OmniboxEditModel::AcceptKeyword( +@@ -868,9 +879,6 @@ bool OmniboxEditModel::AcceptKeyword( } base::RecordAction(base::UserMetricsAction("AcceptedKeywordHint")); @@ -824,7 +824,7 @@ EmitEnteredKeywordModeHistogram(entry_method, turl, !user_text_.empty()); return true; } -@@ -1520,7 +1528,13 @@ void OmniboxEditModel::InternalSetUserTe +@@ -1522,7 +1530,13 @@ void OmniboxEditModel::InternalSetUserTe std::u16string OmniboxEditModel::MaybeStripKeyword( const std::u16string& text) const { @@ -839,7 +839,7 @@ ? AutocompleteInput::SplitReplacementStringFromInput(text, false) : text; } -@@ -2779,9 +2793,8 @@ bool OmniboxEditModel::MaybeAcceptKeywor +@@ -2781,9 +2795,8 @@ bool OmniboxEditModel::MaybeAcceptKeywor return false; size_t keyword_length = new_text.length() - 1;