git: 89b6c3ce8595 - main - www/chromium: update to 105.0.5195.52

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Sat, 03 Sep 2022 08:42:47 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=89b6c3ce8595f65174312096d44b14a77a12721d

commit 89b6c3ce8595f65174312096d44b14a77a12721d
Author:     Robert Nagy <robert@openbsd.org>
AuthorDate: 2022-08-31 17:47:43 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2022-09-03 08:40:22 +0000

    www/chromium: update to 105.0.5195.52
    
    Security:       https://www.vuxml.org/freebsd/f2043ff6-2916-11ed-a1ef-3065ec8fd3ec.html
---
 www/chromium/Makefile                              |  3 +-
 www/chromium/distinfo                              | 14 +--
 www/chromium/files/patch-BUILD.gn                  | 30 +++----
 www/chromium/files/patch-base_BUILD.gn             | 31 ++++---
 ...rtition__allocator_page__allocator__constants.h | 19 +++--
 ...rtition__allocator_partition__address__space.cc |  4 +-
 ...tition__allocator_partition__alloc__constants.h |  6 +-
 ...locator_partition__allocator_partition__root.cc |  4 +-
 www/chromium/files/patch-base_base__switches.cc    |  8 +-
 www/chromium/files/patch-base_base__switches.h     |  6 +-
 www/chromium/files/patch-base_debug_elf__reader.cc | 10 +--
 .../files/patch-base_debug_stack__trace__posix.cc  | 12 +--
 .../files/patch-base_files_dir__reader__linux.h    |  6 +-
 .../files/patch-base_files_file__util__posix.cc    |  7 +-
 .../files/patch-base_files_file__util__unittest.cc |  4 +-
 www/chromium/files/patch-base_linux__util.cc       |  4 +-
 ...patch-base_message__loop_message__pump__glib.cc |  6 +-
 .../files/patch-base_posix_unix__domain__socket.cc | 10 +--
 .../files/patch-base_process_launch__posix.cc      |  4 +-
 .../files/patch-base_process_process__metrics.h    | 30 +++----
 ...patch-base_process_process__metrics__freebsd.cc |  4 +-
 .../patch-base_process_process__metrics__posix.cc  |  4 +-
 .../files/patch-base_process_process__posix.cc     | 10 +--
 .../files/patch-base_profiler_module__cache.cc     | 11 +++
 www/chromium/files/patch-base_rand__util.h         |  6 +-
 www/chromium/files/patch-base_rand__util__posix.cc | 35 ++++----
 www/chromium/files/patch-base_system_sys__info.cc  | 20 ++---
 www/chromium/files/patch-base_system_sys__info.h   |  4 +-
 .../files/patch-base_system_sys__info__freebsd.cc  | 18 ++--
 .../files/patch-base_system_sys__info__openbsd.cc  | 12 +--
 .../files/patch-base_system_sys__info__posix.cc    | 14 +--
 .../files/patch-base_system_sys__info__unittest.cc |  9 +-
 ...k_thread__pool_environment__config__unittest.cc |  6 +-
 .../files/patch-base_threading_platform__thread.h  |  6 +-
 ...patch-base_threading_platform__thread__linux.cc | 32 +++----
 ...patch-base_threading_platform__thread__posix.cc | 14 +--
 ...ch-base_threading_platform__thread__unittest.cc | 12 +--
 ...tch-base_trace__event_malloc__dump__provider.cc | 13 ++-
 .../files/patch-build_config_compiler_BUILD.gn     | 40 ++++-----
 www/chromium/files/patch-build_config_ozone.gni    |  4 +-
 ...atch-build_linux_unbundle_replace__gn__files.py |  6 +-
 .../files/patch-build_toolchain_gcc__toolchain.gni | 15 +++-
 www/chromium/files/patch-cc_BUILD.gn               |  6 +-
 .../files/patch-chrome_app_chrome__main.cc         |  4 +-
 .../patch-chrome_app_chrome__main__delegate.cc     | 44 ++++++----
 .../patch-chrome_app_generated__resources.grd      | 17 +++-
 .../files/patch-chrome_app_settings__strings.grdp  |  6 +-
 .../files/patch-chrome_browser_about__flags.cc     | 48 +++++++----
 ...h-chrome_browser_after__startup__task__utils.cc |  6 +-
 ...er_apps_platform__apps_platform__app__launch.cc |  4 +-
 .../patch-chrome_browser_browser__features.cc      |  4 +-
 .../patch-chrome_browser_browser__process__impl.h  |  4 +-
 ..._browser_chrome__browser__interface__binders.cc | 16 ++--
 .../patch-chrome_browser_chrome__browser__main.cc  | 12 +--
 ...ome_browser_chrome__content__browser__client.cc | 34 ++++----
 ...rome_browser_chrome__content__browser__client.h |  4 +-
 ...-chrome_browser_dev__ui__browser__resources.grd |  4 +-
 ...download_chrome__download__manager__delegate.cc | 12 +--
 ...ch-chrome_browser_download_download__commands.h |  4 +-
 ...rome_browser_download_download__file__picker.cc |  6 +-
 ...hrome_browser_download_download__item__model.cc |  6 +-
 ...atch-chrome_browser_download_download__prefs.cc | 18 ++--
 ...patch-chrome_browser_download_download__prefs.h |  4 +-
 ...nectors_analysis_analysis__service__settings.cc | 16 ++++
 .../files/patch-chrome_browser_extensions_BUILD.gn |  4 +-
 ...rprise__reporting__private_conversion__utils.cc | 11 +++
 ...erprise__reporting__private_conversion__utils.h | 11 +++
 ..._private_enterprise__reporting__private__api.cc | 31 ++++++-
 ...__private_enterprise__reporting__private__api.h | 22 ++++-
 ...extensions_api_settings__private_prefs__util.cc |  6 +-
 ..._browser__context__keyed__service__factories.cc |  6 +-
 .../patch-chrome_browser_flag__descriptions.cc     | 25 ++++--
 .../patch-chrome_browser_flag__descriptions.h      | 20 +++--
 ...chrome__browser__main__extra__parts__metrics.cc |  4 +-
 ...ser_metrics_chrome__metrics__service__client.cc |  8 +-
 ...rowser_net_system__network__context__manager.cc |  8 +-
 ..._browser_new__tab__page_new__tab__page__util.cc | 11 +++
 ..._manager_policies_high__pmf__discard__policy.cc | 20 -----
 .../patch-chrome_browser_platform__util__linux.cc  |  4 +-
 ...onfiguration__policy__handler__list__factory.cc | 71 +++++++++++++---
 .../patch-chrome_browser_prefs_browser__prefs.cc   |  8 +-
 ...tch-chrome_browser_process__singleton__posix.cc |  6 +-
 ...hrome__browser__main__extra__parts__profiles.cc | 18 +++-
 ...h-chrome_browser_renderer__preferences__util.cc | 14 +--
 ...settings_appearance__page_appearance__page.html | 10 +--
 ...s_settings_appearance__page_appearance__page.ts | 10 +--
 ...s_settings_autofill__page_passwords__shared.css |  4 +-
 ...atch-chrome_browser_resources_settings_route.ts |  4 +-
 ...sync__confirmation_sync__confirmation__app.html | 14 +--
 ...browsing_download__protection_file__analyzer.cc |  6 +-
 ..._browsing_download__protection_file__analyzer.h |  6 +-
 ...tch-chrome_browser_sync_chrome__sync__client.cc |  4 +-
 .../patch-chrome_browser_themes_theme__helper.cc   | 12 +--
 .../patch-chrome_browser_themes_theme__service.cc  | 25 ++----
 ...e_browser_themes_theme__service__aura__linux.cc | 37 ++++++++
 ...hrome_browser_themes_theme__service__factory.cc | 22 +++--
 ...rome_browser_ui_browser__command__controller.cc | 30 +++----
 .../files/patch-chrome_browser_ui_chrome__pages.cc | 13 ++-
 .../files/patch-chrome_browser_ui_chrome__pages.h  | 14 +--
 ...sharing__hub_sharing__hub__bubble__controller.h | 11 +++
 ...h-chrome_browser_ui_signin__view__controller.cc |  4 +-
 ...browser_ui_signin__view__controller__delegate.h |  6 +-
 ...browser_ui_startup_startup__browser__creator.cc |  6 +-
 .../files/patch-chrome_browser_ui_tab__helpers.cc  |  6 +-
 ...ui_task__manager_task__manager__table__model.cc |  6 +-
 ...h-chrome_browser_ui_views_accelerator__table.cc |  4 +-
 ...wser_ui_views_chrome__views__delegate__linux.cc |  6 +-
 ...chrome_browser_ui_views_frame_browser__frame.cc | 12 +--
 ...er__non__client__frame__view__factory__views.cc |  4 +-
 ...-chrome_browser_ui_views_frame_browser__view.cc |  4 +-
 ..._ui_views_frame_opaque__browser__frame__view.cc |  8 +-
 ...r_ui_views_frame_opaque__browser__frame__view.h |  4 +-
 ..._ui_views_frame_system__menu__model__builder.cc | 12 +--
 ..._ui_views_profiles_profile__menu__view__base.cc |  4 +-
 ...es_signin__view__controller__delegate__views.cc | 10 +--
 ...les_signin__view__controller__delegate__views.h |  6 +-
 ..._browser_ui_views_tabs_tab__drag__controller.cc | 10 +--
 ...r_ui_views_tabs_tab__hover__card__controller.cc |  4 +-
 ...i_web__applications_app__browser__controller.cc | 13 +--
 ...i_webui_chrome__web__ui__controller__factory.cc | 18 ++--
 ..._browser_ui_webui_ntp_app__launcher__handler.cc |  4 +-
 ...tings_settings__localized__strings__provider.cc | 14 +--
 ...browser_web__applications_web__app__provider.cc |  4 +-
 ...thn_chrome__authenticator__request__delegate.cc |  4 +-
 .../files/patch-chrome_common_chrome__features.cc  | 28 +++---
 .../files/patch-chrome_common_chrome__features.h   | 16 ++--
 .../files/patch-chrome_common_chrome__paths.cc     | 14 +--
 .../files/patch-chrome_common_chrome__switches.cc  |  4 +-
 .../files/patch-chrome_common_chrome__switches.h   |  4 +-
 ...rmissions_chrome__permission__message__rules.cc | 11 +++
 .../files/patch-chrome_common_pref__names.cc       | 10 +--
 .../files/patch-chrome_common_pref__names.h        |  8 +-
 .../files/patch-chrome_common_url__constants.cc    |  4 +-
 .../files/patch-chrome_common_url__constants.h     |  4 +-
 .../patch-chrome_common_webui__url__constants.cc   | 12 +--
 .../patch-chrome_common_webui__url__constants.h    |  8 +-
 ...ome_renderer_chrome__render__frame__observer.cc |  4 +-
 www/chromium/files/patch-chrome_test_BUILD.gn      |  4 +-
 .../files/patch-chrome_updater_app_app__install.cc |  4 +-
 www/chromium/files/patch-chrome_updater_updater.cc |  4 +-
 www/chromium/files/patch-chrome_updater_util.cc    |  6 +-
 .../files/patch-chrome_utility_services.cc         |  8 +-
 ...hromecast_browser_cast__browser__main__parts.cc | 14 +--
 ...ecast_browser_cast__content__browser__client.cc | 22 +----
 ...content__browser__client__receiver__bindings.cc | 20 -----
 ...ast_renderer_cast__content__renderer__client.cc |  4 +-
 ..._autofill__assistant_browser_client__context.cc |  4 +-
 ...utofill_core_browser_personal__data__manager.cc |  4 +-
 ...ill_core_common_autofill__payments__features.cc |  4 +-
 ...components_cast__channel_cast__message__util.cc |  4 +-
 .../files/patch-components_crash_core_app_BUILD.gn | 10 +--
 ...service_discardable__shared__memory__manager.cc | 10 +--
 ...bedder__support_user__agent__utils__unittest.cc | 10 +--
 ...e__engagement_public_feature__configurations.cc |  4 +-
 ...eature__engagement_public_feature__constants.cc |  4 +-
 ...feature__engagement_public_feature__constants.h |  4 +-
 ...ents_feature__engagement_public_feature__list.h | 10 +--
 ...s_feed_core_v2_feed__network__impl__unittest.cc |  4 +-
 ...ger_core_browser_sync_password__sync__bridge.cc |  6 +-
 ...ager_core_common_password__manager__features.cc | 15 ++--
 ...nager_core_common_password__manager__features.h | 11 ++-
 ...sions_prediction__service_prediction__common.cc |  6 +-
 ...icy_core_browser_policy__pref__mapping__test.cc |  4 +-
 ...policy_core_common_cloud_cloud__policy__util.cc | 11 +--
 ...ponents_policy_resources_policy__templates.json | 44 +++++-----
 ...metric__utils_browser_startup__metric__utils.cc | 19 ++---
 ...isplay__embedder_skia__output__surface__impl.cc |  4 +-
 ...omponents_viz_service_display_skia__renderer.cc |  6 +-
 .../files/patch-content_app_content__main.cc       |  6 +-
 ...atch-content_app_content__main__runner__impl.cc | 16 ++--
 www/chromium/files/patch-content_browser_BUILD.gn  |  4 +-
 .../patch-content_browser_browser__main__loop.cc   | 19 ++---
 ...ent_browser_download_download__manager__impl.cc |  6 +-
 ...ser_media_frameless__media__interface__proxy.cc | 10 +--
 ...wser_media_frameless__media__interface__proxy.h | 20 +++++
 ...ontent_browser_media_media__interface__proxy.cc | 10 +--
 ...rowser_renderer__host_delegated__frame__host.cc |  4 +-
 ...owser_renderer__host_render__message__filter.cc | 12 +--
 ...rowser_renderer__host_render__message__filter.h | 11 ++-
 ...r_renderer__host_render__process__host__impl.cc | 30 +++++--
 ...er_renderer__host_render__process__host__impl.h | 31 ++++++-
 ...derer__host_render__widget__host__view__aura.cc | 22 ++---
 ...nderer__host_render__widget__host__view__aura.h |  4 +-
 ...wser_web__contents_web__contents__view__aura.cc |  8 +-
 .../files/patch-content_child_child__process.cc    |  4 +-
 www/chromium/files/patch-content_common_BUILD.gn   |  4 +-
 .../patch-content_common_font__list__unittest.cc   | 14 +--
 .../files/patch-content_common_user__agent.cc      | 15 +++-
 www/chromium/files/patch-content_gpu_gpu__main.cc  |  6 +-
 .../patch-content_gpu_gpu__sandbox__hook__linux.cc | 12 +--
 ...-content_public_browser_render__process__host.h | 20 +++++
 ...atch-content_public_common_content__features.cc |  8 +-
 ...patch-content_public_common_content__features.h |  4 +-
 ...atch-content_public_common_content__switches.cc |  4 +-
 ...ntent_public_test_mock__render__process__host.h | 11 +++
 ...tch-content_public_test_mock__render__thread.cc |  6 +-
 .../patch-content_renderer_render__thread__impl.cc | 25 ++----
 ...ent_renderer_renderer__blink__platform__impl.cc | 19 ++---
 ...tent_renderer_renderer__blink__platform__impl.h | 15 +++-
 www/chromium/files/patch-content_shell_BUILD.gn    |  4 +-
 ...atch-content_shell_app_shell__main__delegate.cc |  4 +-
 ...nt_shell_browser_shell__browser__main__parts.cc | 10 +--
 ...hell_utility_shell__content__utility__client.cc |  4 +-
 www/chromium/files/patch-content_test_BUILD.gn     |  6 +-
 .../files/patch-content_zygote_zygote__linux.cc    |  4 +-
 .../patch-device_bluetooth_cast__bluetooth.gni     |  4 +-
 ..._browser__context__keyed__service__factories.cc |  6 +-
 .../patch-extensions_browser_extension__prefs.cc   |  4 +-
 ...tensions_common_api___permission__features.json | 12 +--
 .../files/patch-extensions_common_api_runtime.json | 12 +++
 ...ns_shell_browser_shell__browser__main__parts.cc |  4 +-
 ...rvice_shared__image__backing__factory__ozone.cc | 11 ---
 ...mage_angle__vulkan__image__backing__factory.cc} |  6 +-
 ..._shared__image_external__vk__image__backing.cc} | 16 ++--
 ...e_shared__image_gl__texture__image__backing.cc} |  8 +-
 ..._image_gl__texture__image__backing__factory.cc} |  6 +-
 ...ervice_shared__image_shared__image__factory.cc} | 18 ++--
 ..._image_wrapped__sk__image__backing__factory.cc} |  6 +-
 ...ommand__buffer_service_webgpu__decoder__impl.cc |  4 +-
 ...ffer_tests_gl__gpu__memory__buffer__unittest.cc |  6 +-
 ...ss_lib_browser_headless__web__contents__impl.cc |  4 +-
 ...adless_lib_headless__content__main__delegate.cc |  4 +-
 .../patch-media_audio_audio__input__device.cc      |  4 +-
 ...atch-media_audio_sndio_audio__manager__sndio.cc | 10 ++-
 .../files/patch-media_base_media__switches.cc      | 16 ++--
 .../files/patch-media_base_media__switches.h       |  6 +-
 www/chromium/files/patch-media_base_video__frame.h | 10 +--
 ..._capture_video_linux_v4l2__capture__delegate.cc |  8 +-
 ...a_capture_video_linux_v4l2__capture__delegate.h |  4 +-
 ...-media_gpu_chromeos_video__decoder__pipeline.cc |  6 +-
 ...gpu_gpu__video__encode__accelerator__factory.cc |  4 +-
 .../files/patch-media_gpu_vaapi_vaapi__wrapper.cc  |  4 +-
 www/chromium/files/patch-media_media__options.gni  | 19 +++--
 ...ideo_gpu__memory__buffer__video__frame__pool.cc | 22 ++++-
 ...ia_video_video__encode__accelerator__adapter.cc | 10 +--
 ...eo_video__encode__accelerator__adapter__test.cc |  4 +-
 www/chromium/files/patch-net_BUILD.gn              | 20 ++---
 .../patch-net_base_network__change__notifier.cc    | 12 +--
 ...ch-net_base_network__change__notifier__posix.cc |  6 +-
 .../patch-net_cert_cert__verify__proc__unittest.cc |  6 +-
 .../patch-net_disk__cache_blockfile_disk__format.h |  4 +-
 .../patch-net_dns_dns__config__service__posix.cc   |  6 +-
 .../files/patch-net_dns_host__resolver__proc.cc    |  4 +-
 .../patch-net_http_http__auth__gssapi__posix.cc    |  4 +-
 .../patch-net_http_http__auth__gssapi__posix.h     |  4 +-
 ...et_proxy__resolution_proxy__config__service.cc} | 22 +++--
 ...xy__resolution_proxy__config__service__linux.cc |  8 +-
 ...ffic__annotation_network__traffic__annotation.h |  6 +-
 .../files/patch-net_url__request_url__fetcher.cc   | 11 ---
 .../files/patch-net_url__request_url__fetcher.h    | 11 ---
 ..._url__request_url__request__context__builder.cc |  6 +-
 .../files/patch-pdf_pdfium_pdfium__engine.cc       |  6 +-
 .../patch-printing_print__settings__conversion.cc  |  4 +-
 .../patch-printing_printing__context__linux.cc     | 38 +++++++++
 ...h-remoting_codec_webrtc__video__encoder__vpx.cc |  4 +-
 ...ch-remoting_host_me2me__desktop__environment.cc |  4 +-
 .../files/patch-remoting_host_policy__watcher.cc   | 11 +++
 .../patch-remoting_host_remoting__me2me__host.cc   | 29 ++++---
 .../patch-remoting_host_setup_start__host__main.cc |  8 +-
 www/chromium/files/patch-sandbox_BUILD.gn          |  4 +-
 ...ices_cert__verifier_cert__verifier__creation.cc | 16 ++--
 ...ervices_device_compute__pressure_cpu__probe.cc} |  6 +-
 ...me__zone__monitor_time__zone__monitor__linux.cc |  4 +-
 www/chromium/files/patch-services_network_BUILD.gn |  4 +-
 .../patch-services_network_network__service.cc     | 10 +--
 ...tracing_public_cpp_perfetto_perfetto__config.cc | 11 ---
 ...ture_public_mojom_video__capture__service.mojom |  4 +-
 ...atch-third__party_abseil-cpp_absl_base_config.h |  6 +-
 ...l-cpp_absl_debugging_internal_elf__mem__image.h | 13 ++-
 .../files/patch-third__party_angle_BUILD.gn        | 26 +++++-
 ...party_angle_src_common_system__utils__posix.cpp | 12 ---
 ...h-third__party_angle_src_common_vulkan_BUILD.gn | 11 +++
 ...tch-third__party_angle_src_libANGLE_Display.cpp |  4 +-
 ...third__party_angle_src_libANGLE_formatutils.cpp |  4 +-
 ...ird__party_angle_src_third__party_volk_BUILD.gn | 11 +++
 ...link_common_privacy__budget_active__sampling.cc | 11 +++
 ...h-third__party_blink_public_platform_platform.h | 11 +++
 ...blink_renderer_controller_blink__initializer.cc | 16 ++--
 ...blink_renderer_core_exported_web__view__impl.cc |  4 +-
 ...y_blink_renderer_core_frame_web__frame__test.cc | 10 +--
 ...r_modules_media_audio_audio__device__factory.cc |  6 +-
 ...peerconnection_webrtc__audio__renderer__test.cc |  4 +-
 ...odules_webaudio_audio__worklet__thread__test.cc | 10 +--
 ...odules_webgl_webgl__rendering__context__base.cc |  4 +-
 ...h-third__party_blink_renderer_platform_BUILD.gn |  4 +-
 ...ty_blink_renderer_platform_fonts_font__cache.cc |  4 +-
 ...nk_renderer_platform_fonts_font__description.cc |  4 +-
 ...renderer_platform_fonts_font__platform__data.cc |  6 +-
 ...rer_platform_graphics_begin__frame__provider.cc | 11 +--
 ...derer_platform_runtime__enabled__features.json5 | 20 ++---
 ...nk_renderer_platform_scheduler_common_thread.cc | 11 ++-
 ...widget_compositing_categorized__worker__pool.cc | 11 +++
 ...__party_crashpad_crashpad_util_posix_signals.cc |  4 +-
 ...event.h => patch-third__party_libevent_event.h} |  4 +-
 ...-third__party_perfetto_src_base_unix__socket.cc |  4 +-
 ...etto_src_tracing_core_tracing__service__impl.cc |  4 +-
 ...rty_protobuf_src_google_protobuf_arenastring.cc | 12 +++
 ...uf_src_google_protobuf_stubs_platform__macros.h |  4 +-
 www/chromium/files/patch-third__party_ruy_BUILD.gn | 11 +++
 ...-third__party_sqlite_src_amalgamation_sqlite3.c |  6 +-
 ..._party_swiftshader_src_System_SharedLibrary.hpp | 11 ---
 ...ch-third__party_swiftshader_src_Vulkan_BUILD.gn | 13 ---
 ...patch-third__party_swiftshader_src_WSI_BUILD.gn | 25 ++----
 .../files/patch-third__party_tflite_features.gni   | 10 ++-
 ...lkan-deps_vulkan-loader_src_loader_allocation.h | 11 ---
 ...ps_vulkan-loader_src_loader_stack__allocation.h | 16 ++++
 ...vulkan-loader_src_loader_vk__loader__platform.h | 19 +++--
 .../files/patch-third__party_webrtc_BUILD.gn       |  4 +-
 .../patch-third__party_webrtc_rtc__base_BUILD.gn   |  4 +-
 .../patch-third__party_webrtc_rtc__base_network.cc |  4 +-
 .../files/patch-tools_generate__stubs_rules.gni    |  4 +-
 ...ols_json__schema__compiler_feature__compiler.py |  4 +-
 www/chromium/files/patch-ui_aura_screen__ozone.cc  | 31 ++-----
 www/chromium/files/patch-ui_aura_screen__ozone.h   | 59 +++----------
 ...patch-ui_base_ime_dummy__text__input__client.cc |  4 +-
 .../patch-ui_base_ime_dummy__text__input__client.h |  4 +-
 .../patch-ui_base_ime_fake__text__input__client.cc |  4 +-
 .../patch-ui_base_ime_fake__text__input__client.h  |  4 +-
 ...-ui_base_ime_init_input__method__initializer.cc | 31 +++----
 ...linux_linux__input__method__context__factory.cc | 20 +++++
 .../files/patch-ui_base_ime_text__input__client.h  |  4 +-
 .../files/patch-ui_base_ui__base__features.cc      |  6 +-
 .../files/patch-ui_base_webui_web__ui__util.cc     |  4 +-
 .../files/patch-ui_base_x_x11__cursor__factory.cc  | 11 +++
 .../files/patch-ui_base_x_x11__cursor__factory.h   | 20 +++++
 .../files/patch-ui_base_x_x11__cursor__loader.cc   | 31 ++++++-
 www/chromium/files/patch-ui_base_x_x11__util.h     | 13 ---
 www/chromium/files/patch-ui_color_color__id.h      |  4 +-
 .../files/patch-ui_compositor_compositor.cc        |  4 +-
 .../files/patch-ui_compositor_compositor.h         |  4 +-
 www/chromium/files/patch-ui_display_screen.cc      | 31 +------
 www/chromium/files/patch-ui_display_screen.h       | 56 +-----------
 www/chromium/files/patch-ui_gfx_BUILD.gn           |  4 +-
 .../files/patch-ui_gfx_font__fallback__linux.cc    |  4 +-
 .../patch-ui_gfx_font__render__params__linux.cc    | 20 +++++
 .../files/patch-ui_gfx_gpu__memory__buffer.h       |  8 +-
 ...x_mojom_native__handle__types__mojom__traits.cc |  6 +-
 ...fx_mojom_native__handle__types__mojom__traits.h | 11 ++-
 .../files/patch-ui_gfx_platform__font__skia.cc     | 20 +++++
 .../patch-ui_gfx_render__text__api__fuzzer.cc      | 41 ++++-----
 .../files/patch-ui_gfx_render__text__fuzzer.cc     | 20 +++++
 .../files/patch-ui_gl_generate__bindings.py        |  4 +-
 www/chromium/files/patch-ui_gl_gl__context.cc      |  4 +-
 .../patch-ui_gl_gl__image__glx__native__pixmap.cc  |  8 +-
 .../patch-ui_gtk_printing_print__dialog__gtk.cc    |  4 +-
 ...platform_headless_headless__surface__factory.cc | 20 ++---
 ..._platform_headless_headless__surface__factory.h | 11 ---
 ...rm_headless_vulkan__implementation__headless.cc | 11 +++
 ..._ozone_platform_wayland_host_wayland__screen.cc | 40 ---------
 ...i_ozone_platform_wayland_host_wayland__screen.h | 54 ------------
 ...h-ui_ozone_platform_x11_ozone__platform__x11.cc |  4 +-
 ...tch-ui_ozone_platform_x11_x11__screen__ozone.cc | 43 ----------
 ...atch-ui_ozone_platform_x11_x11__screen__ozone.h | 35 --------
 .../patch-ui_ozone_public_platform__screen.cc      | 18 ----
 .../files/patch-ui_ozone_public_platform__screen.h | 35 --------
 ...rm__window_platform__window__init__properties.h |  6 +-
 .../patch-ui_views_controls_prefix__selector.cc    |  4 +-
 .../patch-ui_views_controls_prefix__selector.h     |  4 +-
 .../patch-ui_views_controls_textfield_textfield.cc | 48 +++++------
 .../patch-ui_views_controls_textfield_textfield.h  | 13 ++-
 .../files/patch-ui_views_focus_focus__manager.cc   |  6 +-
 .../files/patch-ui_views_linux__ui_linux__ui.cc    | 11 ---
 .../files/patch-ui_views_linux__ui_linux__ui.h     | 20 -----
 .../files/patch-ui_views_style_platform__style.cc  | 20 ++++-
 ...ktop__aura_desktop__drag__drop__client__ozone.h |  4 +-
 ...__aura_desktop__window__tree__host__platform.cc | 15 +++-
 ...e__host__platform__impl__interactive__uitest.cc |  4 +-
 www/chromium/files/patch-ui_views_widget_widget.cc |  6 +-
 www/chromium/files/patch-ui_views_widget_widget.h  | 11 +++
 www/chromium/files/patch-v8_BUILD.gn               |  8 +-
 www/chromium/files/patch-v8_src_api_api.cc         |  4 +-
 .../patch-v8_src_base_platform_platform-posix.cc   |  6 +-
 www/chromium/files/patch-v8_src_objects_simd.cc    | 99 ----------------------
 ...src_wasm_baseline_ia32_liftoff-assembler-ia32.h | 32 +++----
 374 files changed, 2252 insertions(+), 2116 deletions(-)

diff --git a/www/chromium/Makefile b/www/chromium/Makefile
index dfcae40c7090..8d4cdb35057b 100644
--- a/www/chromium/Makefile
+++ b/www/chromium/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	chromium
-PORTVERSION=	104.0.5112.101
+PORTVERSION=	105.0.5195.52
 CATEGORIES=	www wayland
 MASTER_SITES=	https://commondatastorage.googleapis.com/chromium-browser-official/ \
 		https://nerd.hu/distfiles/:external
@@ -110,6 +110,7 @@ GN_ARGS+=	clang_use_chrome_plugins=false \
 		use_system_freetype=false \
 		use_system_harfbuzz=true \
 		use_system_libjpeg=true \
+		use_system_libwayland=true \
 		use_system_wayland_scanner=true \
 		use_udev=false \
 		extra_cxxflags="${CXXFLAGS}" \
diff --git a/www/chromium/distinfo b/www/chromium/distinfo
index c75fcb8d26d5..a0316463f879 100644
--- a/www/chromium/distinfo
+++ b/www/chromium/distinfo
@@ -1,9 +1,9 @@
-TIMESTAMP = 1660719568
-SHA256 (chromium-104.0.5112.101.tar.xz) = 60f015e1559de4044cdfa3bdc1f8fde535927c8ab15b0959ccc9b6feec832f5b
-SIZE (chromium-104.0.5112.101.tar.xz) = 1510110428
-SHA256 (chrome-linux-104.0.5112.101-llvm13.profdata.tar.xz) = 8fe3066b129724a187ffc4d0d02ede643b80d466d45fe270e2074f6b098790b0
-SIZE (chrome-linux-104.0.5112.101-llvm13.profdata.tar.xz) = 24584836
-SHA256 (chromium-104.0.5112.101-testdata.tar.xz) = 77f7da315f1a37983083c3f24c16da035d3da6a667db32cfd6edba6546344a31
-SIZE (chromium-104.0.5112.101-testdata.tar.xz) = 264016568
+TIMESTAMP = 1661937622
+SHA256 (chromium-105.0.5195.52.tar.xz) = dc71b2be9c30c2a7a250b3dbfb26f9b0d1aa2df7335b53ed44a203ff69947c42
+SIZE (chromium-105.0.5195.52.tar.xz) = 1597749968
+SHA256 (chrome-linux-105.0.5195.52-llvm13.profdata.tar.xz) = be6371fbfe9949ee56c8ba5c45c2e3d31c36c153e035b89d4bbda4e35077c8c2
+SIZE (chrome-linux-105.0.5195.52-llvm13.profdata.tar.xz) = 24879272
+SHA256 (chromium-105.0.5195.52-testdata.tar.xz) = 486fe655cfc8a4210598f4797fbbc603a8783702c50b5c3a9badd3a179ba9106
+SIZE (chromium-105.0.5195.52-testdata.tar.xz) = 264061000
 SHA256 (test_fonts-336e775eec536b2d785cc80eff6ac39051931286.tar.gz) = a2ca2962daf482a8f943163541e1c73ba4b2694fabcd2510981f2db4eda493c8
 SIZE (test_fonts-336e775eec536b2d785cc80eff6ac39051931286.tar.gz) = 32624734
diff --git a/www/chromium/files/patch-BUILD.gn b/www/chromium/files/patch-BUILD.gn
index c6627a923546..a6357f969e30 100644
--- a/www/chromium/files/patch-BUILD.gn
+++ b/www/chromium/files/patch-BUILD.gn
@@ -1,6 +1,6 @@
---- BUILD.gn.orig	2022-07-22 17:30:31 UTC
+--- BUILD.gn.orig	2022-08-31 12:19:35 UTC
 +++ BUILD.gn
-@@ -54,7 +54,7 @@ declare_args() {
+@@ -53,7 +53,7 @@ declare_args() {
    root_extra_deps = []
  }
  
@@ -9,15 +9,15 @@
    # An official (maximally optimized!) component (optimized for build times)
    # build doesn't make sense and usually doesn't work.
    assert(!is_component_build)
-@@ -86,7 +86,6 @@ group("gn_all") {
+@@ -85,7 +85,6 @@ group("gn_all") {
      "//codelabs",
      "//components:components_unittests",
      "//components/gwp_asan:gwp_asan_unittests",
 -    "//infra/orchestrator:orchestrator_all",
      "//net:net_unittests",
+     "//sandbox:sandbox_unittests",
      "//services:services_unittests",
-     "//services/service_manager/public/cpp",
-@@ -446,7 +445,7 @@ group("gn_all") {
+@@ -435,7 +434,7 @@ group("gn_all") {
      ]
    }
  
@@ -26,8 +26,8 @@
      deps += [
        "//third_party/breakpad:breakpad_unittests",
        "//third_party/breakpad:core-2-minidump",
-@@ -635,6 +634,15 @@ group("gn_all") {
-     }
+@@ -624,6 +623,15 @@ group("gn_all") {
+     deps += [ "//gpu/tools/compositor_model_bench" ]
    }
  
 +  if (is_bsd) {
@@ -42,7 +42,7 @@
    if (is_mac) {
      deps += [
        "//third_party/breakpad:crash_inspector",
-@@ -683,7 +691,7 @@ group("gn_all") {
+@@ -672,7 +680,7 @@ group("gn_all") {
          host_os == "win") {
        deps += [ "//chrome/test/mini_installer:mini_installer_tests" ]
      }
@@ -51,7 +51,7 @@
      deps += [ "//third_party/breakpad:symupload($host_toolchain)" ]
    }
  
-@@ -1184,7 +1192,7 @@ if (!is_ios) {
+@@ -1187,7 +1195,7 @@ if (!is_ios) {
        data_deps += [ "//content/web_test:web_test_common_mojom_js_data_deps" ]
      }
  
@@ -60,7 +60,7 @@
        data_deps +=
            [ "//third_party/breakpad:minidump_stackwalk($host_toolchain)" ]
      }
-@@ -1193,7 +1201,7 @@ if (!is_ios) {
+@@ -1196,7 +1204,7 @@ if (!is_ios) {
        data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ]
      }
  
@@ -69,12 +69,12 @@
        data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ]
      }
  
-@@ -1592,7 +1600,7 @@ group("chromium_builder_perf") {
+@@ -1645,7 +1653,7 @@ group("chromium_builder_perf") {
+       data_deps += [ "//chrome/test:performance_browser_tests" ]
+     }
  
-     if (is_win) {
-       data_deps += [ "//chrome/installer/mini_installer:mini_installer" ]
--    } else {
-+    } else if (!is_bsd) {
+-    if (!is_win) {
++    if (!is_win && !is_bsd) {
        data_deps +=
            [ "//third_party/breakpad:minidump_stackwalk($host_toolchain)" ]
      }
diff --git a/www/chromium/files/patch-base_BUILD.gn b/www/chromium/files/patch-base_BUILD.gn
index e5a50d632c33..9ca1c2331d10 100644
--- a/www/chromium/files/patch-base_BUILD.gn
+++ b/www/chromium/files/patch-base_BUILD.gn
@@ -1,6 +1,15 @@
---- base/BUILD.gn.orig	2022-07-22 17:30:31 UTC
+--- base/BUILD.gn.orig	2022-08-31 12:19:35 UTC
 +++ base/BUILD.gn
-@@ -1001,7 +1001,7 @@ mixed_component("base") {
+@@ -162,7 +162,7 @@ buildflag_header("ios_cronet_buildflags") {
+   flags = [ "CRONET_BUILD=$is_cronet_build" ]
+ }
+ 
+-enable_message_pump_epoll = is_linux || is_chromeos || is_android
++enable_message_pump_epoll = (is_linux || is_chromeos || is_android) && !is_bsd
+ buildflag_header("message_pump_buildflags") {
+   header = "message_pump_buildflags.h"
+   header_dir = "base/message_loop"
+@@ -1014,7 +1014,7 @@ mixed_component("base") {
        "timer/hi_res_timer_manager_posix.cc",
      ]
  
@@ -9,7 +18,7 @@
        sources += [
          "profiler/stack_copier_signal.cc",
          "profiler/stack_copier_signal.h",
-@@ -1010,6 +1010,12 @@ mixed_component("base") {
+@@ -1023,6 +1023,12 @@ mixed_component("base") {
          "profiler/thread_delegate_posix.h",
        ]
      }
@@ -22,7 +31,7 @@
    }
  
    if (is_win) {
-@@ -1496,11 +1502,23 @@ mixed_component("base") {
+@@ -1507,11 +1513,23 @@ mixed_component("base") {
    # Needed for <atomic> if using newer C++ library than sysroot, except if
    # building inside the cros_sdk environment - use host_toolchain as a
    # more robust check for this.
@@ -47,7 +56,7 @@
    if (use_allocator_shim) {
      sources += [
        "allocator/allocator_shim.cc",
-@@ -1528,7 +1546,7 @@ mixed_component("base") {
+@@ -1539,7 +1557,7 @@ mixed_component("base") {
        ]
        configs += [ "//base/allocator:mac_no_default_new_delete_symbols" ]
      }
@@ -56,7 +65,7 @@
        sources += [
          "allocator/allocator_shim_override_cpp_symbols.h",
          "allocator/allocator_shim_override_glibc_weak_symbols.h",
-@@ -1584,7 +1602,7 @@ mixed_component("base") {
+@@ -1595,7 +1613,7 @@ mixed_component("base") {
  
    # Allow more direct string conversions on platforms with native utf8
    # strings
@@ -65,7 +74,7 @@
      defines += [ "SYSTEM_NATIVE_UTF8" ]
    }
  
-@@ -2165,6 +2183,42 @@ mixed_component("base") {
+@@ -2183,6 +2201,42 @@ mixed_component("base") {
      }
    }
  
@@ -108,7 +117,7 @@
    # iOS
    if (is_ios) {
      sources -= [
-@@ -3467,7 +3521,7 @@ test("base_unittests") {
+@@ -3496,7 +3550,7 @@ test("base_unittests") {
      }
    }
  
@@ -117,7 +126,7 @@
      sources += [
        "debug/proc_maps_linux_unittest.cc",
        "files/scoped_file_linux_unittest.cc",
-@@ -3514,7 +3568,7 @@ test("base_unittests") {
+@@ -3543,7 +3597,7 @@ test("base_unittests") {
        "posix/file_descriptor_shuffle_unittest.cc",
        "posix/unix_domain_socket_unittest.cc",
      ]
@@ -126,7 +135,7 @@
        sources += [
          "profiler/stack_copier_signal_unittest.cc",
          "profiler/thread_delegate_posix_unittest.cc",
-@@ -3524,7 +3578,7 @@ test("base_unittests") {
+@@ -3553,7 +3607,7 @@ test("base_unittests") {
  
    # Allow more direct string conversions on platforms with native utf8
    # strings
@@ -135,7 +144,7 @@
      defines += [ "SYSTEM_NATIVE_UTF8" ]
    }
  
-@@ -3712,7 +3766,7 @@ test("base_unittests") {
+@@ -3741,7 +3795,7 @@ test("base_unittests") {
      }
    }
  
diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_page__allocator__constants.h b/www/chromium/files/patch-base_allocator_partition__allocator_page__allocator__constants.h
index bd41b2b9b998..1d14687939fd 100644
--- a/www/chromium/files/patch-base_allocator_partition__allocator_page__allocator__constants.h
+++ b/www/chromium/files/patch-base_allocator_partition__allocator_page__allocator__constants.h
@@ -1,4 +1,4 @@
---- base/allocator/partition_allocator/page_allocator_constants.h.orig	2022-05-19 14:06:27 UTC
+--- base/allocator/partition_allocator/page_allocator_constants.h.orig	2022-08-31 12:19:35 UTC
 +++ base/allocator/partition_allocator/page_allocator_constants.h
 @@ -24,7 +24,7 @@
  // elimination.
@@ -12,13 +12,13 @@
 @@ -79,7 +79,7 @@ PageAllocationGranularityShift() {
    return 14;  // 16kB
  #elif BUILDFLAG(IS_APPLE) && defined(ARCH_CPU_64_BITS)
-   return vm_page_shift;
+   return static_cast<size_t>(vm_page_shift);
 -#elif BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64)
 +#elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64)
    // arm64 supports 4kb (shift = 12), 16kb (shift = 14), and 64kb (shift = 16)
    // page sizes. Retrieve from or initialize cache.
-   int shift = page_characteristics.shift.load(std::memory_order_relaxed);
-@@ -99,7 +99,7 @@ PageAllocationGranularity() {
+   size_t shift = page_characteristics.shift.load(std::memory_order_relaxed);
+@@ -100,7 +100,7 @@ PageAllocationGranularity() {
    // This is literally equivalent to |1 << PageAllocationGranularityShift()|
    // below, but was separated out for IS_APPLE to avoid << on a non-constexpr.
    return vm_page_size;
@@ -26,4 +26,13 @@
 +#elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64)
    // arm64 supports 4kb, 16kb, and 64kb page sizes. Retrieve from or
    // initialize cache.
-   int size = page_characteristics.size.load(std::memory_order_relaxed);
+   size_t size = page_characteristics.size.load(std::memory_order_relaxed);
+@@ -139,7 +139,7 @@ SystemPageShift() {
+ PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONSTEXPR PA_ALWAYS_INLINE size_t
+ SystemPageSize() {
+ #if (BUILDFLAG(IS_APPLE) && defined(ARCH_CPU_64_BITS)) || \
+-    (BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64))
++    ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64))
+   // This is literally equivalent to |1 << SystemPageShift()| below, but was
+   // separated out for 64-bit IS_APPLE and arm64 on Linux to avoid << on a
+   // non-constexpr.
diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_partition__address__space.cc b/www/chromium/files/patch-base_allocator_partition__allocator_partition__address__space.cc
index ba8125fd0062..5ba98fe032f3 100644
--- a/www/chromium/files/patch-base_allocator_partition__allocator_partition__address__space.cc
+++ b/www/chromium/files/patch-base_allocator_partition__allocator_partition__address__space.cc
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/partition_address_space.cc.orig	2022-07-22 17:30:31 UTC
+--- base/allocator/partition_allocator/partition_address_space.cc.orig	2022-08-31 12:19:35 UTC
 +++ base/allocator/partition_allocator/partition_address_space.cc
-@@ -234,7 +234,7 @@ void PartitionAddressSpace::UninitConfigurablePoolForT
+@@ -233,7 +233,7 @@ void PartitionAddressSpace::UninitConfigurablePoolForT
    setup_.configurable_pool_ = 0;
  }
  
diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h
index ea17eb2ddaca..df44ff1d52bf 100644
--- a/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h
+++ b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/partition_alloc_constants.h.orig	2022-07-22 17:30:31 UTC
+--- base/allocator/partition_allocator/partition_alloc_constants.h.orig	2022-08-31 12:19:35 UTC
 +++ base/allocator/partition_allocator/partition_alloc_constants.h
-@@ -96,7 +96,7 @@ PartitionPageShift() {
+@@ -91,7 +91,7 @@ PartitionPageShift() {
    return 18;  // 256 KiB
  }
  #elif (BUILDFLAG(IS_APPLE) && defined(ARCH_CPU_64_BITS)) || \
@@ -9,7 +9,7 @@
  PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONSTEXPR PA_ALWAYS_INLINE size_t
  PartitionPageShift() {
    return PageAllocationGranularityShift() + 2;
-@@ -252,7 +252,7 @@ constexpr size_t kSuperPageBaseMask = ~kSuperPageOffse
+@@ -247,7 +247,7 @@ constexpr size_t kSuperPageBaseMask = ~kSuperPageOffse
  #if defined(PA_HAS_64_BITS_POINTERS)
  // The Configurable Pool is only available in 64-bit mode
  constexpr size_t kNumPools = 3;
diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_partition__root.cc b/www/chromium/files/patch-base_allocator_partition__allocator_partition__root.cc
index a46d0c1a9f27..a788aa40be35 100644
--- a/www/chromium/files/patch-base_allocator_partition__allocator_partition__root.cc
+++ b/www/chromium/files/patch-base_allocator_partition__allocator_partition__root.cc
@@ -1,4 +1,4 @@
---- base/allocator/partition_allocator/partition_root.cc.orig	2022-07-22 17:30:31 UTC
+--- base/allocator/partition_allocator/partition_root.cc.orig	2022-08-31 12:19:35 UTC
 +++ base/allocator/partition_allocator/partition_root.cc
 @@ -33,7 +33,7 @@
  #include "wow64apiset.h"
@@ -27,7 +27,7 @@
    // It's better for slot_usage to be stack-allocated and fixed-size, which
    // demands that its size be constexpr. On IS_APPLE and Linux on arm64,
    // PartitionPageSize() is always SystemPageSize() << 2, so regardless of
-@@ -655,7 +655,7 @@ void PartitionRoot<thread_safe>::Init(PartitionOptions
+@@ -652,7 +652,7 @@ void PartitionRoot<thread_safe>::Init(PartitionOptions
      // apple OSes.
      PA_CHECK((internal::SystemPageSize() == (size_t{1} << 12)) ||
               (internal::SystemPageSize() == (size_t{1} << 14)));
diff --git a/www/chromium/files/patch-base_base__switches.cc b/www/chromium/files/patch-base_base__switches.cc
index 59678d7551d9..8e449113ec69 100644
--- a/www/chromium/files/patch-base_base__switches.cc
+++ b/www/chromium/files/patch-base_base__switches.cc
@@ -1,4 +1,4 @@
---- base/base_switches.cc.orig	2022-02-28 16:54:41 UTC
+--- base/base_switches.cc.orig	2022-08-31 12:19:35 UTC
 +++ base/base_switches.cc
 @@ -170,7 +170,7 @@ const char kForceFieldTrialParams[] = "force-fieldtria
  
@@ -6,6 +6,6 @@
  
 -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
 +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- // Controls whether or not retired instruction counts are surfaced for threads
- // in trace events on Linux.
- //
+ // TODO(crbug.com/1176772): Remove kEnableCrashpad and IsCrashpadEnabled() when
+ // Crashpad is fully enabled on Linux. Indicates that Crashpad should be
+ // enabled.
diff --git a/www/chromium/files/patch-base_base__switches.h b/www/chromium/files/patch-base_base__switches.h
index 8b90f08b6a9e..a2effa2e495d 100644
--- a/www/chromium/files/patch-base_base__switches.h
+++ b/www/chromium/files/patch-base_base__switches.h
@@ -1,4 +1,4 @@
---- base/base_switches.h.orig	2022-02-28 16:54:41 UTC
+--- base/base_switches.h.orig	2022-08-31 12:19:35 UTC
 +++ base/base_switches.h
 @@ -60,7 +60,7 @@ extern const char kEnableIdleTracing[];
  extern const char kForceFieldTrialParams[];
@@ -6,6 +6,6 @@
  
 -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
 +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- extern const char kEnableThreadInstructionCount[];
- 
  // TODO(crbug.com/1176772): Remove kEnableCrashpad and IsCrashpadEnabled() when
+ // Crashpad is fully enabled on Linux.
+ extern const char kEnableCrashpad[];
diff --git a/www/chromium/files/patch-base_debug_elf__reader.cc b/www/chromium/files/patch-base_debug_elf__reader.cc
index 21904ae7ca00..d64763186791 100644
--- a/www/chromium/files/patch-base_debug_elf__reader.cc
+++ b/www/chromium/files/patch-base_debug_elf__reader.cc
@@ -1,6 +1,6 @@
---- base/debug/elf_reader.cc.orig	2022-02-07 13:39:41 UTC
+--- base/debug/elf_reader.cc.orig	2022-08-31 12:19:35 UTC
 +++ base/debug/elf_reader.cc
-@@ -76,6 +76,7 @@ size_t ReadElfBuildId(const void* elf_mapped_base,
+@@ -78,6 +78,7 @@ size_t ReadElfBuildId(const void* elf_mapped_base,
      bool found = false;
      while (current_section < section_end) {
        current_note = reinterpret_cast<const Nhdr*>(current_section);
@@ -8,11 +8,11 @@
        if (current_note->n_type == NT_GNU_BUILD_ID) {
          StringPiece note_name(current_section + sizeof(Nhdr),
                                current_note->n_namesz);
-@@ -85,6 +86,7 @@ size_t ReadElfBuildId(const void* elf_mapped_base,
+@@ -87,6 +88,7 @@ size_t ReadElfBuildId(const void* elf_mapped_base,
            break;
          }
        }
 +#endif
  
-       size_t section_size = bits::AlignUp(current_note->n_namesz, 4) +
-                             bits::AlignUp(current_note->n_descsz, 4) +
+       size_t section_size = bits::AlignUp(current_note->n_namesz, 4u) +
+                             bits::AlignUp(current_note->n_descsz, 4u) +
diff --git a/www/chromium/files/patch-base_debug_stack__trace__posix.cc b/www/chromium/files/patch-base_debug_stack__trace__posix.cc
index f53bb3e100d4..a08b8d7d1709 100644
--- a/www/chromium/files/patch-base_debug_stack__trace__posix.cc
+++ b/www/chromium/files/patch-base_debug_stack__trace__posix.cc
@@ -1,6 +1,6 @@
---- base/debug/stack_trace_posix.cc.orig	2022-03-25 21:59:56 UTC
+--- base/debug/stack_trace_posix.cc.orig	2022-08-31 12:19:35 UTC
 +++ base/debug/stack_trace_posix.cc
-@@ -38,7 +38,7 @@
+@@ -39,7 +39,7 @@
  #include <AvailabilityMacros.h>
  #endif
  
@@ -9,7 +9,7 @@
  #include "base/debug/proc_maps_linux.h"
  #endif
  
-@@ -695,6 +695,9 @@ class SandboxSymbolizeHelper {
+@@ -698,6 +698,9 @@ class SandboxSymbolizeHelper {
    // for the modules that are loaded in the current process.
    // Returns true on success.
    bool CacheMemoryRegions() {
@@ -19,7 +19,7 @@
      // Reads /proc/self/maps.
      std::string contents;
      if (!ReadProcMaps(&contents)) {
-@@ -712,6 +715,7 @@ class SandboxSymbolizeHelper {
+@@ -715,6 +718,7 @@ class SandboxSymbolizeHelper {
  
      is_initialized_ = true;
      return true;
@@ -27,7 +27,7 @@
    }
  
    // Opens all object files and caches their file descriptors.
-@@ -868,7 +872,7 @@ size_t CollectStackTrace(void** trace, size_t count) {
+@@ -871,7 +875,7 @@ size_t CollectStackTrace(void** trace, size_t count) {
    // If we do not have unwind tables, then try tracing using frame pointers.
    return base::debug::TraceStackFramePointers(const_cast<const void**>(trace),
                                                count, 0);
@@ -35,4 +35,4 @@
 +#elif !defined(__UCLIBC__) && !defined(_AIX) && !BUILDFLAG(IS_BSD)
    // Though the backtrace API man page does not list any possible negative
    // return values, we take no chance.
-   return base::saturated_cast<size_t>(backtrace(trace, count));
+   return base::saturated_cast<size_t>(
diff --git a/www/chromium/files/patch-base_files_dir__reader__linux.h b/www/chromium/files/patch-base_files_dir__reader__linux.h
index 82ff9a17eb2e..91bc1897532e 100644
--- a/www/chromium/files/patch-base_files_dir__reader__linux.h
+++ b/www/chromium/files/patch-base_files_dir__reader__linux.h
@@ -1,4 +1,4 @@
---- base/files/dir_reader_linux.h.orig	2022-06-18 05:49:12 UTC
+--- base/files/dir_reader_linux.h.orig	2022-08-31 12:19:35 UTC
 +++ base/files/dir_reader_linux.h
 @@ -16,10 +16,16 @@
  #include "base/logging.h"
@@ -32,8 +32,8 @@
 +#if BUILDFLAG(IS_BSD)
 +    const int r = getdents(fd_, reinterpret_cast<char *>(buf_), sizeof(buf_));
 +#else
-     const int r = syscall(__NR_getdents64, fd_, buf_, sizeof(buf_));
+     const long r = syscall(__NR_getdents64, fd_, buf_, sizeof(buf_));
 +#endif
      if (r == 0)
        return false;
-     if (r == -1) {
+     if (r < 0) {
diff --git a/www/chromium/files/patch-base_files_file__util__posix.cc b/www/chromium/files/patch-base_files_file__util__posix.cc
index 5fafd41cb66a..b932d5c3169d 100644
--- a/www/chromium/files/patch-base_files_file__util__posix.cc
+++ b/www/chromium/files/patch-base_files_file__util__posix.cc
@@ -1,15 +1,12 @@
---- base/files/file_util_posix.cc.orig	2022-07-22 17:30:31 UTC
+--- base/files/file_util_posix.cc.orig	2022-08-31 12:19:35 UTC
 +++ base/files/file_util_posix.cc
-@@ -696,32 +696,37 @@ bool CreateDirectoryAndGetError(const FilePath& full_p
+@@ -700,32 +700,34 @@ bool CreateDirectoryAndGetError(const FilePath& full_p
                                  File::Error* error) {
    ScopedBlockingCall scoped_blocking_call(
        FROM_HERE, BlockingType::MAY_BLOCK);  // For call to mkdir().
 +  const FilePath kFileSystemRoot("/");
    std::vector<FilePath> subpaths;
  
-+  if (DirectoryExists(full_path))
-+    return true;
-+
    // Collect a list of all parent directories.
    FilePath last_path = full_path;
 -  subpaths.push_back(full_path);
diff --git a/www/chromium/files/patch-base_files_file__util__unittest.cc b/www/chromium/files/patch-base_files_file__util__unittest.cc
index cbc96b4a9d6f..4448278044cf 100644
--- a/www/chromium/files/patch-base_files_file__util__unittest.cc
+++ b/www/chromium/files/patch-base_files_file__util__unittest.cc
@@ -1,4 +1,4 @@
---- base/files/file_util_unittest.cc.orig	2022-06-17 14:20:10 UTC
+--- base/files/file_util_unittest.cc.orig	2022-08-31 12:19:35 UTC
 +++ base/files/file_util_unittest.cc
 @@ -3522,7 +3522,7 @@ TEST_F(FileUtilTest, ReadFileToStringWithNamedPipe) {
  }
@@ -9,7 +9,7 @@
  TEST_F(FileUtilTest, ReadFileToStringWithProcFileSystem) {
    FilePath file_path("/proc/cpuinfo");
    std::string data = "temp";
-@@ -4238,7 +4238,7 @@ TEST(FileUtilMultiThreadedTest, MultiThreadedTempFiles
+@@ -4245,7 +4245,7 @@ TEST(FileUtilMultiThreadedTest, MultiThreadedTempFiles
                  NULL);
  #else
      size_t bytes_written =
diff --git a/www/chromium/files/patch-base_linux__util.cc b/www/chromium/files/patch-base_linux__util.cc
index 1f949df12ab0..c4b5ebcf6394 100644
--- a/www/chromium/files/patch-base_linux__util.cc
+++ b/www/chromium/files/patch-base_linux__util.cc
@@ -1,4 +1,4 @@
---- base/linux_util.cc.orig	2022-05-19 14:06:27 UTC
+--- base/linux_util.cc.orig	2022-08-31 12:19:35 UTC
 +++ base/linux_util.cc
 @@ -15,6 +15,7 @@
  
@@ -18,7 +18,7 @@
    // 25 > strlen("/proc//task") + strlen(std::to_string(INT_MAX)) + 1 = 22
    char buf[25];
    strings::SafeSPrintf(buf, "/proc/%d/task", pid);
-@@ -154,6 +158,7 @@ bool GetThreadsForProcess(pid_t pid, std::vector<pid_t
+@@ -152,6 +156,7 @@ bool GetThreadsForProcess(pid_t pid, std::vector<pid_t
    }
  
    return true;
diff --git a/www/chromium/files/patch-base_message__loop_message__pump__glib.cc b/www/chromium/files/patch-base_message__loop_message__pump__glib.cc
index 047712904c6f..6734d01e8bf0 100644
--- a/www/chromium/files/patch-base_message__loop_message__pump__glib.cc
+++ b/www/chromium/files/patch-base_message__loop_message__pump__glib.cc
@@ -1,4 +1,4 @@
---- base/message_loop/message_pump_glib.cc.orig	2022-02-28 16:54:41 UTC
+--- base/message_loop/message_pump_glib.cc.orig	2022-08-31 12:19:35 UTC
 +++ base/message_loop/message_pump_glib.cc
 @@ -8,6 +8,11 @@
  #include <glib.h>
@@ -10,9 +10,9 @@
 +#endif
 +
  #include "base/logging.h"
+ #include "base/memory/raw_ptr.h"
  #include "base/notreached.h"
- #include "base/numerics/safe_conversions.h"
-@@ -50,9 +55,13 @@ int GetTimeIntervalMilliseconds(TimeTicks next_task_ti
+@@ -51,9 +56,13 @@ int GetTimeIntervalMilliseconds(TimeTicks next_task_ti
  }
  
  bool RunningOnMainThread() {
diff --git a/www/chromium/files/patch-base_posix_unix__domain__socket.cc b/www/chromium/files/patch-base_posix_unix__domain__socket.cc
index 9fac90a4accf..1ae00278ecd3 100644
--- a/www/chromium/files/patch-base_posix_unix__domain__socket.cc
+++ b/www/chromium/files/patch-base_posix_unix__domain__socket.cc
@@ -1,6 +1,6 @@
---- base/posix/unix_domain_socket.cc.orig	2022-02-28 16:54:41 UTC
+--- base/posix/unix_domain_socket.cc.orig	2022-08-31 12:19:35 UTC
 +++ base/posix/unix_domain_socket.cc
-@@ -50,7 +50,7 @@ bool CreateSocketPair(ScopedFD* one, ScopedFD* two) {
+@@ -51,7 +51,7 @@ bool CreateSocketPair(ScopedFD* one, ScopedFD* two) {
  
  // static
  bool UnixDomainSocket::EnableReceiveProcessId(int fd) {
@@ -9,7 +9,7 @@
    const int enable = 1;
    return setsockopt(fd, SOL_SOCKET, SO_PASSCRED, &enable, sizeof(enable)) == 0;
  #else
-@@ -140,7 +140,7 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd,
+@@ -149,7 +149,7 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd,
  
    const size_t kControlBufferSize =
        CMSG_SPACE(sizeof(int) * kMaxFileDescriptors)
@@ -18,7 +18,7 @@
        // macOS does not support ucred.
        // macOS supports xucred, but this structure is insufficient.
        + CMSG_SPACE(sizeof(struct ucred))
-@@ -168,7 +168,7 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd,
+@@ -177,7 +177,7 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd,
          wire_fds = reinterpret_cast<int*>(CMSG_DATA(cmsg));
          wire_fds_len = payload_len / sizeof(int);
        }
@@ -27,7 +27,7 @@
        // macOS does not support SCM_CREDENTIALS.
        if (cmsg->cmsg_level == SOL_SOCKET &&
            cmsg->cmsg_type == SCM_CREDENTIALS) {
-@@ -202,6 +202,9 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd,
+@@ -211,6 +211,9 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd,
      socklen_t pid_size = sizeof(pid);
      if (getsockopt(fd, SOL_LOCAL, LOCAL_PEERPID, &pid, &pid_size) != 0)
        pid = -1;
diff --git a/www/chromium/files/patch-base_process_launch__posix.cc b/www/chromium/files/patch-base_process_launch__posix.cc
index 137785dd2f2b..656ff7be03d3 100644
--- a/www/chromium/files/patch-base_process_launch__posix.cc
+++ b/www/chromium/files/patch-base_process_launch__posix.cc
@@ -1,6 +1,6 @@
---- base/process/launch_posix.cc.orig	2022-06-17 14:20:10 UTC
+--- base/process/launch_posix.cc.orig	2022-08-31 12:19:35 UTC
 +++ base/process/launch_posix.cc
-@@ -63,6 +63,9 @@
+@@ -64,6 +64,9 @@
  #error "macOS should use launch_mac.cc"
  #endif
  
diff --git a/www/chromium/files/patch-base_process_process__metrics.h b/www/chromium/files/patch-base_process_process__metrics.h
*** 10306 LINES SKIPPED ***