update to 148.0.7778.215

This commit is contained in:
robert
2026-05-30 09:40:41 +00:00
parent 9ff9e38fd4
commit aed650251b
20 changed files with 50 additions and 43 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ DPB_PROPERTIES+= lonesome
COMMENT= Chromium browser
V= 148.0.7778.178
V= 148.0.7778.215
DISTNAME= chromium-${V}
+4 -4
View File
@@ -164,8 +164,8 @@ SHA256 (cargo/wyz-0.5.1.tar.gz) = BfNg/AskKWMpx4/ahSoemugt6c97J9rkt/YvEY93ue0=
SHA256 (cargo/xxhash-rust-0.8.12.tar.gz) = aly/dQQAlYgZ+2F46qg77lzZwpompAzCQd+McP3UaYQ=
SHA256 (cargo/zerocopy-0.7.35.tar.gz) = G5tP0Yq8grgTaDjaXVC6573qU3xXTY3Bo07QmNbBZvA=
SHA256 (cargo/zerocopy-derive-0.7.35.tar.gz) = +k+AgDRNRnH7ToMaE60eaAknSDh9/E9V41YkL64Szj4=
SHA256 (chromium-148.0.7778.178-lite.tar.xz) = B0zAb9lsfUer/kpLtLCbmfQmGj8aTkmgdiSBDoPvRVY=
SHA256 (chromium-148.0.7778.178-testdata.tar.xz) = WpZXKdYEseBlauUxGwtCr7++/ZBcQ9a0G+qV6Ck42Wg=
SHA256 (chromium-148.0.7778.215-lite.tar.xz) = J7I7THh39B3L+W/TwXEE8t58PfIFadnhneu6Q4CUuoE=
SHA256 (chromium-148.0.7778.215-testdata.tar.xz) = M3ImxD8X7BkUOy8D/eS7pQyp8QbLXskAT+YP8Oms9+Q=
SHA256 (rollup-rollup-v4.22.4.tar.gz) = p+XAnwD+UK2r4n/vhFVRDxVs9z/uiu8frzgEtlOYjkw=
SHA256 (test_fonts-a28b222b79851716f8358d2800157d9ffe117b3545031ae51f69b7e1e1b9a969.tar.gz) = oosiK3mFFxb4NY0oABV9n/4RezVFAxrlH2m34eG5qWk=
SIZE (cargo/Inflector-0.11.4.tar.gz) = 17438
@@ -334,7 +334,7 @@ SIZE (cargo/wyz-0.5.1.tar.gz) = 18790
SIZE (cargo/xxhash-rust-0.8.12.tar.gz) = 21329
SIZE (cargo/zerocopy-0.7.35.tar.gz) = 152645
SIZE (cargo/zerocopy-derive-0.7.35.tar.gz) = 37829
SIZE (chromium-148.0.7778.178-lite.tar.xz) = 1592183916
SIZE (chromium-148.0.7778.178-testdata.tar.xz) = 1306779736
SIZE (chromium-148.0.7778.215-lite.tar.xz) = 1593195044
SIZE (chromium-148.0.7778.215-testdata.tar.xz) = 1306574148
SIZE (rollup-rollup-v4.22.4.tar.gz) = 1732642
SIZE (test_fonts-a28b222b79851716f8358d2800157d9ffe117b3545031ae51f69b7e1e1b9a969.tar.gz) = 33233004
@@ -1,7 +1,7 @@
Index: base/system/sys_info_freebsd.cc
--- base/system/sys_info_freebsd.cc.orig
+++ base/system/sys_info_freebsd.cc
@@ -10,21 +10,75 @@
@@ -10,21 +10,73 @@
#include "base/notreached.h"
#include "base/numerics/safe_conversions.h"
@@ -43,7 +43,7 @@ Index: base/system/sys_info_freebsd.cc
+ByteSize SysInfo::AmountOfAvailablePhysicalMemoryImpl() {
+ int page_size, r = 0;
+ unsigned int pgfree, pginact, pgcache;
+ unsigned int pgfree, pginact;
+ size_t size = sizeof(page_size);
+ size_t szpg = sizeof(pgfree);
+
@@ -53,15 +53,13 @@ Index: base/system/sys_info_freebsd.cc
+ r = sysctlbyname("vm.stats.vm.v_free_count", &pgfree, &szpg, NULL, 0);
+ if (r == 0)
+ r = sysctlbyname("vm.stats.vm.v_inactive_count", &pginact, &szpg, NULL, 0);
+ if (r == 0)
+ r = sysctlbyname("vm.stats.vm.v_cache_count", &pgcache, &szpg, NULL, 0);
+
+ if (r == -1) {
+ NOTREACHED();
+ return ByteSize(0);
+ }
+
+ return ByteSize((pgfree + pginact + pgcache) * checked_cast<unsigned>(page_size));
+ return ByteSize((pgfree + pginact) * checked_cast<unsigned>(page_size));
+}
+
// static
@@ -81,7 +79,7 @@ Index: base/system/sys_info_freebsd.cc
uint64_t SysInfo::MaxSharedMemorySize() {
size_t limit;
size_t size = sizeof(limit);
@@ -32,6 +86,18 @@ uint64_t SysInfo::MaxSharedMemorySize() {
@@ -32,6 +84,18 @@ uint64_t SysInfo::MaxSharedMemorySize() {
NOTREACHED();
}
return static_cast<uint64_t>(limit);
@@ -1,7 +1,7 @@
Index: chrome/browser/ui/views/frame/browser_view.cc
--- chrome/browser/ui/views/frame/browser_view.cc.orig
+++ chrome/browser/ui/views/frame/browser_view.cc
@@ -2472,7 +2472,7 @@ void BrowserView::ToolbarSizeChanged(bool is_animating
@@ -2473,7 +2473,7 @@ void BrowserView::ToolbarSizeChanged(bool is_animating
}
void BrowserView::TabDraggingStatusChanged(bool is_dragging) {
@@ -10,7 +10,7 @@ Index: chrome/browser/ui/views/frame/browser_view.cc
UpdateFastResizeForContentViews(is_dragging);
if (!is_dragging) {
@@ -5994,7 +5994,7 @@ void BrowserView::MaybeShowProfileSwitchIPH() {
@@ -5996,7 +5996,7 @@ void BrowserView::MaybeShowProfileSwitchIPH() {
}
void BrowserView::MaybeShowSupervisedUserProfileSignInIPH() {
@@ -19,7 +19,7 @@ Index: chrome/browser/ui/views/frame/browser_view.cc
if (!ShouldShowAvatarToolbarIPH()) {
return;
}
@@ -6004,7 +6004,7 @@ void BrowserView::MaybeShowSupervisedUserProfileSignIn
@@ -6006,7 +6006,7 @@ void BrowserView::MaybeShowSupervisedUserProfileSignIn
}
void BrowserView::MaybeShowSignInBenefitsIPH() {
@@ -10,7 +10,16 @@ Index: components/password_manager/core/browser/features/password_features.cc
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
@@ -174,7 +174,7 @@ BASE_FEATURE(kReduceRequirementsForPasswordChange,
@@ -118,7 +118,7 @@ BASE_FEATURE(kFillChangePasswordFormByTyping,
BASE_FEATURE(kFillOnAccountSelect,
"fill-on-account-select",
// TODO(504600482): Disable the feature again upon fixing the bug.
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
@@ -180,7 +180,7 @@ BASE_FEATURE(kReduceRequirementsForPasswordChange,
BASE_FEATURE(kPasswordCheckupPrototype, base::FEATURE_DISABLED_BY_DEFAULT);
@@ -1,7 +1,7 @@
Index: content/browser/gpu/gpu_data_manager_impl.cc
--- content/browser/gpu/gpu_data_manager_impl.cc.orig
+++ content/browser/gpu/gpu_data_manager_impl.cc
@@ -412,7 +412,7 @@ void GpuDataManagerImpl::OnDisplayMetricsChanged(
@@ -427,7 +427,7 @@ void GpuDataManagerImpl::OnDisplayMetricsChanged(
private_->OnDisplayMetricsChanged(display, changed_metrics);
}
@@ -1,7 +1,7 @@
Index: content/browser/gpu/gpu_data_manager_impl.h
--- content/browser/gpu/gpu_data_manager_impl.h.orig
+++ content/browser/gpu/gpu_data_manager_impl.h
@@ -224,7 +224,7 @@ class CONTENT_EXPORT GpuDataManagerImpl : public GpuDa
@@ -233,7 +233,7 @@ class CONTENT_EXPORT GpuDataManagerImpl : public GpuDa
void OnDisplayMetricsChanged(const display::Display& display,
uint32_t changed_metrics) override;
@@ -1,7 +1,7 @@
Index: content/browser/gpu/gpu_data_manager_impl_private.cc
--- content/browser/gpu/gpu_data_manager_impl_private.cc.orig
+++ content/browser/gpu/gpu_data_manager_impl_private.cc
@@ -1720,7 +1720,7 @@ void GpuDataManagerImplPrivate::RecordCompositingMode(
@@ -1747,7 +1747,7 @@ void GpuDataManagerImplPrivate::RecordCompositingMode(
UMA_HISTOGRAM_ENUMERATION("GPU.CompositingMode", compositing_mode);
}
@@ -1,7 +1,7 @@
Index: content/browser/gpu/gpu_data_manager_impl_private.h
--- content/browser/gpu/gpu_data_manager_impl_private.h.orig
+++ content/browser/gpu/gpu_data_manager_impl_private.h
@@ -149,7 +149,7 @@ class CONTENT_EXPORT GpuDataManagerImplPrivate {
@@ -152,7 +152,7 @@ class CONTENT_EXPORT GpuDataManagerImplPrivate {
void OnDisplayMetricsChanged(const display::Display& display,
uint32_t changed_metrics);
@@ -10,7 +10,7 @@ Index: content/browser/gpu/gpu_data_manager_impl_private.h
bool IsGpuMemoryBufferNV12Supported();
#endif // BUILDFLAG(IS_LINUX)
@@ -311,7 +311,7 @@ class CONTENT_EXPORT GpuDataManagerImplPrivate {
@@ -315,7 +315,7 @@ class CONTENT_EXPORT GpuDataManagerImplPrivate {
bool application_is_visible_ = true;
bool disable_gpu_compositing_ = false;
@@ -9,7 +9,7 @@ Index: content/browser/gpu/gpu_process_host.cc
switches::kProfilingAtStart,
switches::kProfilingFile,
switches::kProfilingFlush,
@@ -307,7 +308,7 @@ static const char* const kSwitchNames[] = {
@@ -306,7 +307,7 @@ static const char* const kSwitchNames[] = {
switches::kEnableNativeGpuMemoryBuffers,
switches::kRenderNodeOverride,
#endif
@@ -1,7 +1,7 @@
Index: content/browser/renderer_host/render_widget_host_view_aura.cc
--- content/browser/renderer_host/render_widget_host_view_aura.cc.orig
+++ content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -129,7 +129,7 @@
@@ -130,7 +130,7 @@
#include "ui/gfx/win/gdi_util.h"
#endif // BUILDFLAG(IS_WIN)
@@ -10,7 +10,7 @@ Index: content/browser/renderer_host/render_widget_host_view_aura.cc
#include "ui/accessibility/platform/browser_accessibility_auralinux.h"
#include "ui/base/ime/linux/text_edit_command_auralinux.h"
#include "ui/base/ime/text_input_flags.h"
@@ -554,7 +554,7 @@ gfx::NativeViewAccessible RenderWidgetHostViewAura::Ge
@@ -555,7 +555,7 @@ gfx::NativeViewAccessible RenderWidgetHostViewAura::Ge
return ToBrowserAccessibilityWin(manager->GetBrowserAccessibilityRoot())
->GetCOM();
@@ -19,7 +19,7 @@ Index: content/browser/renderer_host/render_widget_host_view_aura.cc
ui::BrowserAccessibilityManager* manager =
host()->GetOrCreateRootBrowserAccessibilityManager();
if (manager && manager->GetBrowserAccessibilityRoot())
@@ -1984,7 +1984,7 @@ bool RenderWidgetHostViewAura::ShouldDoLearning() {
@@ -2003,7 +2003,7 @@ bool RenderWidgetHostViewAura::ShouldDoLearning() {
return host() && host()->delegate() && host()->delegate()->ShouldDoLearning();
}
@@ -28,7 +28,7 @@ Index: content/browser/renderer_host/render_widget_host_view_aura.cc
bool RenderWidgetHostViewAura::SetCompositionFromExistingText(
const gfx::Range& range,
const std::vector<ui::ImeTextSpan>& ui_ime_text_spans) {
@@ -3016,7 +3016,7 @@ bool RenderWidgetHostViewAura::NeedsInputGrab() {
@@ -3046,7 +3046,7 @@ bool RenderWidgetHostViewAura::NeedsInputGrab() {
}
bool RenderWidgetHostViewAura::NeedsMouseCapture() {
@@ -37,7 +37,7 @@ Index: content/browser/renderer_host/render_widget_host_view_aura.cc
return NeedsInputGrab();
#else
return false;
@@ -3202,7 +3202,7 @@ void RenderWidgetHostViewAura::ForwardKeyboardEventWit
@@ -3256,7 +3256,7 @@ void RenderWidgetHostViewAura::ForwardKeyboardEventWit
if (!target_host)
return;
@@ -1,7 +1,7 @@
Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
--- gpu/command_buffer/service/gles2_cmd_decoder.cc.orig
+++ gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -2857,7 +2857,7 @@ std::unique_ptr<GLES2Decoder> GLES2Decoder::Create(
@@ -2865,7 +2865,7 @@ std::unique_ptr<GLES2Decoder> GLES2Decoder::Create(
}
// Allow linux to run fuzzers.
@@ -10,7 +10,7 @@ Index: gpu/command_buffer/service/shared_image/shared_image_factory.cc
#include "gpu/command_buffer/service/shared_image/external_vk_image_backing_factory.h"
#endif
@@ -118,7 +118,7 @@ const char* GmbTypeToString(gfx::GpuMemoryBufferType t
@@ -123,7 +123,7 @@ const char* GmbTypeToString(gfx::GpuMemoryBufferType t
case gfx::IO_SURFACE_BUFFER:
return "platform";
#endif
@@ -19,7 +19,7 @@ Index: gpu/command_buffer/service/shared_image/shared_image_factory.cc
case gfx::NATIVE_PIXMAP:
return "platform";
#endif
@@ -139,7 +139,7 @@ gfx::GpuMemoryBufferType GetNativeBufferType() {
@@ -144,7 +144,7 @@ gfx::GpuMemoryBufferType GetNativeBufferType() {
return gfx::GpuMemoryBufferType::IO_SURFACE_BUFFER;
#elif BUILDFLAG(IS_ANDROID)
return gfx::GpuMemoryBufferType::ANDROID_HARDWARE_BUFFER;
@@ -28,7 +28,7 @@ Index: gpu/command_buffer/service/shared_image/shared_image_factory.cc
return gfx::GpuMemoryBufferType::NATIVE_PIXMAP;
#elif BUILDFLAG(IS_WIN)
return gfx::GpuMemoryBufferType::DXGI_SHARED_HANDLE;
@@ -316,7 +316,7 @@ SharedImageFactory::SharedImageFactory(
@@ -322,7 +322,7 @@ SharedImageFactory::SharedImageFactory(
factories_.push_back(std::move(ozone_factory));
}
@@ -37,7 +37,7 @@ Index: gpu/command_buffer/service/shared_image/shared_image_factory.cc
if (gr_context_type_ == GrContextType::kVulkan
#if BUILDFLAG(USE_WEBGPU_ON_VULKAN_VIA_GL_INTEROP)
/* We support GL context for WebGPU gl-vulkan interop (on linux).*/
@@ -1040,7 +1040,7 @@ void SharedImageFactory::LogGetFactoryFailed(gpu::Shar
@@ -1051,7 +1051,7 @@ void SharedImageFactory::LogGetFactoryFailed(gpu::Shar
}
#endif // BUILDFLAG(IS_ANDROID)
@@ -10,7 +10,7 @@ Index: gpu/vulkan/vulkan_image.h
static std::unique_ptr<VulkanImage> CreateWithExternalMemoryAndModifiers(
VulkanDeviceQueue* device_queue,
const gfx::Size& size,
@@ -198,7 +198,7 @@ class COMPONENT_EXPORT(VULKAN) VulkanImage {
@@ -210,7 +210,7 @@ class COMPONENT_EXPORT(VULKAN) VulkanImage {
VkImageTiling image_tiling,
uint32_t queue_family_index);
@@ -1,7 +1,7 @@
Index: media/gpu/chromeos/gl_image_processor_backend.cc
--- media/gpu/chromeos/gl_image_processor_backend.cc.orig
+++ media/gpu/chromeos/gl_image_processor_backend.cc
@@ -27,6 +27,10 @@
@@ -28,6 +28,10 @@
#include "ui/ozone/public/ozone_platform.h"
#include "ui/ozone/public/surface_factory_ozone.h"
@@ -1,7 +1,7 @@
Index: services/device/public/cpp/device_features.cc
--- services/device/public/cpp/device_features.cc.orig
+++ services/device/public/cpp/device_features.cc
@@ -135,11 +135,11 @@ bool IsOsLevelGeolocationPermissionSupportEnabled() {
@@ -152,11 +152,11 @@ bool IsOsLevelGeolocationPermissionSupportEnabled() {
// a USB interface is busy.
#if BUILDFLAG(IS_ANDROID)
BASE_FEATURE(kAutomaticUsbDetach, base::FEATURE_ENABLED_BY_DEFAULT);
@@ -1,7 +1,7 @@
Index: services/device/public/cpp/device_features.h
--- services/device/public/cpp/device_features.h.orig
+++ services/device/public/cpp/device_features.h
@@ -54,11 +54,11 @@ extern const DEVICE_FEATURES_EXPORT
@@ -58,11 +58,11 @@ extern const DEVICE_FEATURES_EXPORT
DEVICE_FEATURES_EXPORT bool IsOsLevelGeolocationPermissionSupportEnabled();
@@ -91,7 +91,7 @@ Index: third_party/blink/renderer/platform/runtime_enabled_features.json5
public: true,
base_feature_status: "enabled",
copied_from_base_feature_if: "overridden",
@@ -5992,7 +5992,7 @@
@@ -6000,7 +6000,7 @@
name: "UnrestrictedSharedArrayBuffer",
base_feature: "none",
origin_trial_feature_name: "UnrestrictedSharedArrayBuffer",
@@ -100,7 +100,7 @@ Index: third_party/blink/renderer/platform/runtime_enabled_features.json5
},
// Enables using policy-controlled feature "usb-unrestricted" to allow
// isolated context to access protected USB interface classes and to
@@ -6089,7 +6089,7 @@
@@ -6097,7 +6097,7 @@
status: "experimental",
origin_trial_feature_name: "UserMediaElement",
public: true,
@@ -109,7 +109,7 @@ Index: third_party/blink/renderer/platform/runtime_enabled_features.json5
base_feature_status: "enabled",
copied_from_base_feature_if: "overridden",
},
@@ -6200,7 +6200,7 @@
@@ -6208,7 +6208,7 @@
name: "WebAppInstallation",
status: {"Android": "", "default": "test"},
origin_trial_feature_name: "WebAppInstallation",
@@ -118,7 +118,7 @@ Index: third_party/blink/renderer/platform/runtime_enabled_features.json5
public: true,
base_feature_status: "enabled",
copied_from_base_feature_if: "overridden",
@@ -6214,7 +6214,7 @@
@@ -6222,7 +6222,7 @@
{
name: "WebAppScopeExtensions",
origin_trial_feature_name: "WebAppScopeExtensions",
@@ -37,7 +37,7 @@ Index: ui/views/controls/textfield/textfield.cc
// Skip any accelerator handling that conflicts with custom keybindings.
if (auto* linux_ui = ui::LinuxUi::instance()) {
if (IsTextEditCommandEnabled(linux_ui->GetTextEditCommandForEvent(
@@ -2092,7 +2092,7 @@ bool Textfield::ShouldDoLearning() {
@@ -2100,7 +2100,7 @@ bool Textfield::ShouldDoLearning() {
return false;
}
@@ -46,7 +46,7 @@ Index: ui/views/controls/textfield/textfield.cc
// TODO(crbug.com/41452689): Implement this method to support Korean IME
// reconversion feature on native text fields (e.g. find bar).
bool Textfield::SetCompositionFromExistingText(
@@ -2619,7 +2619,7 @@ ui::TextEditCommand Textfield::GetCommandForKeyEvent(
@@ -2627,7 +2627,7 @@ ui::TextEditCommand Textfield::GetCommandForKeyEvent(
#endif
return ui::TextEditCommand::DELETE_BACKWARD;
}
@@ -55,7 +55,7 @@ Index: ui/views/controls/textfield/textfield.cc
// Only erase by line break on Linux and ChromeOS.
if (shift) {
return ui::TextEditCommand::DELETE_TO_BEGINNING_OF_LINE;
@@ -2627,7 +2627,7 @@ ui::TextEditCommand Textfield::GetCommandForKeyEvent(
@@ -2635,7 +2635,7 @@ ui::TextEditCommand Textfield::GetCommandForKeyEvent(
#endif
return ui::TextEditCommand::DELETE_WORD_BACKWARD;
case ui::VKEY_DELETE:
@@ -10,7 +10,7 @@ Index: ui/views/controls/textfield/textfield.h
#include <vector>
#endif
@@ -483,7 +483,7 @@ class VIEWS_EXPORT Textfield : public View,
@@ -484,7 +484,7 @@ class VIEWS_EXPORT Textfield : public View,
// Set whether the text should be used to improve typing suggestions.
void SetShouldDoLearning(bool value) { should_do_learning_ = value; }