git: a71d4d63985a - main - www/chromium: udpate to 122.0.6261.69
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Feb 2024 20:23:21 UTC
The branch main has been updated by rnagy: URL: https://cgit.FreeBSD.org/ports/commit/?id=a71d4d63985a0b63188f9695455b77bb3c0a8ab2 commit a71d4d63985a0b63188f9695455b77bb3c0a8ab2 Author: Robert Nagy <rnagy@FreeBSD.org> AuthorDate: 2024-02-24 06:11:52 +0000 Commit: Robert Nagy <rnagy@FreeBSD.org> CommitDate: 2024-02-24 20:23:13 +0000 www/chromium: udpate to 122.0.6261.69 Security: https://vuxml.freebsd.org/freebsd/2a470712-d351-11ee-86bb-a8a1599412c6.html --- www/chromium/Makefile | 2 +- www/chromium/distinfo | 14 +- www/chromium/files/patch-BUILD.gn | 20 +- www/chromium/files/patch-base_BUILD.gn | 41 ++- ...cator_partition__allocator_partition__alloc.gni | 14 +- ...tition__allocator_src_partition__alloc_BUILD.gn | 4 +- ...artition__alloc_address__space__randomization.h | 4 +- ...llocator_src_partition__alloc_page__allocator.h | 4 +- ...c_partition__alloc_page__allocator__constants.h | 22 +- ...tion__alloc_page__allocator__internals__posix.h | 4 +- ...c_partition__alloc_partition__address__space.cc | 8 +- ...loc_partition__alloc__base_compiler__specific.h | 32 -- ...ition__alloc__base_debug_stack__trace__posix.cc | 16 +- ...loc_partition__alloc__base_rand__util__posix.cc | 4 +- ...ition__alloc__base_threading_platform__thread.h | 11 + ...lloc__base_threading_platform__thread__posix.cc | 4 +- ...src_partition__alloc_partition__alloc__config.h | 6 +- ..._partition__alloc_partition__alloc__constants.h | 8 +- ...c_partition__alloc_partition__page__constants.h | 6 +- ...locator_src_partition__alloc_partition__root.cc | 16 +- ...locator_src_partition__alloc_spinning__mutex.cc | 12 +- ..._src_partition__alloc_thread__isolation_pkey.cc | 11 + www/chromium/files/patch-base_base__switches.cc | 4 +- www/chromium/files/patch-base_base__switches.h | 4 +- www/chromium/files/patch-base_compiler__specific.h | 42 +-- ...tch-base_files_file__path__watcher__unittest.cc | 8 +- .../files/patch-base_files_file__util__posix.cc | 4 +- .../files/patch-base_files_file__util__unittest.cc | 6 +- .../patch-base_functional_unretained__traits.h | 18 +- www/chromium/files/patch-base_process_kill.h | 4 +- .../files/patch-base_process_launch__posix.cc | 4 +- ...patch-base_process_process__metrics__openbsd.cc | 18 +- ...atch-base_process_process__metrics__unittest.cc | 14 +- www/chromium/files/patch-base_rand__util.h | 4 +- www/chromium/files/patch-base_rand__util__posix.cc | 24 +- .../files/patch-base_synchronization_lock__impl.h | 6 +- .../files/patch-base_system_sys__info__openbsd.cc | 23 +- ...patch-base_threading_platform__thread__posix.cc | 10 +- ...tch-base_trace__event_malloc__dump__provider.cc | 6 +- .../files/patch-base_trace__event_trace__log.cc | 16 - .../files/patch-build_config_compiler_BUILD.gn | 50 ++- .../files/patch-build_config_compiler_pgo_BUILD.gn | 19 -- .../files/patch-build_toolchain_gcc__toolchain.gni | 4 +- www/chromium/files/patch-cc_BUILD.gn | 6 +- .../files/patch-cc_paint_paint__op__writer.h | 41 --- .../patch-chrome_app_app__management__strings.grdp | 11 - .../patch-chrome_app_chrome__main__delegate.cc | 20 +- .../files/patch-chrome_app_chromium__strings.grd | 38 --- .../patch-chrome_app_generated__resources.grd | 92 ------ .../patch-chrome_app_google__chrome__strings.grd | 38 --- .../files/patch-chrome_app_profiles__strings.grdp | 11 - .../files/patch-chrome_app_settings__strings.grdp | 35 -- ...hrome_app_theme_chrome__unscaled__resources.grd | 20 -- .../patch-chrome_app_theme_theme__resources.grd | 46 --- www/chromium/files/patch-chrome_browser_BUILD.gn | 4 +- .../files/patch-chrome_browser_about__flags.cc | 90 +++-- .../patch-chrome_browser_browser__features.cc | 4 +- .../patch-chrome_browser_browser__process__impl.cc | 8 +- .../patch-chrome_browser_browser__process__impl.h | 4 +- ..._browser_chrome__browser__interface__binders.cc | 18 +- .../patch-chrome_browser_chrome__browser__main.cc | 20 +- ...r_chrome__browser__main__extra__parts__linux.cc | 4 +- ...-chrome_browser_chrome__browser__main__posix.cc | 4 +- ...ome_browser_chrome__content__browser__client.cc | 38 +-- ...rome_browser_chrome__content__browser__client.h | 10 +- ..._updater_widevine__cdm__component__installer.cc | 6 +- ...rome_browser_compose_chrome__compose__client.cc | 19 -- ...nt__settings_one__time__permission__provider.cc | 30 -- ...oad_bubble_download__bubble__update__service.cc | 32 -- ...download_chrome__download__manager__delegate.cc | 12 +- ...rome_browser_download_download__file__picker.cc | 8 +- ...hrome_browser_download_download__item__model.cc | 8 +- ...atch-chrome_browser_download_download__prefs.cc | 10 +- ...er_enterprise_connectors_connectors__service.cc | 4 +- ...ser_commands_key__rotation__command__factory.cc | 6 +- .../files/patch-chrome_browser_extensions_BUILD.gn | 4 +- ...erprise__reporting__private_conversion__utils.h | 4 +- ..._private_enterprise__reporting__private__api.cc | 12 +- ...__private_passwords__private__delegate__impl.cc | 4 +- ...chrome_browser_extensions_api_tabs_tabs__api.cc | 14 +- ...e__file__system__access__permission__context.cc | 4 +- .../patch-chrome_browser_flag__descriptions.cc | 58 ++-- .../patch-chrome_browser_flag__descriptions.h | 56 ++-- ...chrome_browser_headless_headless__mode__util.cc | 4 +- ...wser_media_webrtc_chrome__screen__enumerator.cc | 12 +- ...owser_media_webrtc_chrome__screen__enumerator.h | 8 +- ...ia_webrtc_desktop__media__picker__controller.cc | 11 + ...chrome__browser__main__extra__parts__metrics.cc | 12 +- ..._chrome__browser__main__extra__parts__metrics.h | 6 +- ...ser_metrics_chrome__metrics__service__client.cc | 50 ++- ...rowser_net_system__network__context__manager.cc | 36 +- ...browser_net_system__network__context__manager.h | 12 +- ..._browser_new__tab__page_new__tab__page__util.cc | 13 +- ...d__manager_chrome__password__manager__client.cc | 11 + ...d__manager_password__reuse__manager__factory.cc | 4 +- ...wser_permissions_chrome__permissions__client.cc | 11 + .../patch-chrome_browser_platform__util__linux.cc | 4 +- ...onfiguration__policy__handler__list__factory.cc | 54 +-- .../patch-chrome_browser_prefs_browser__prefs.cc | 24 +- ...er_printing_print__backend__service__manager.cc | 12 +- ...hrome__browser__main__extra__parts__profiles.cc | 36 +- .../patch-chrome_browser_profiles_profile__impl.cc | 8 +- ...atch-chrome_browser_profiles_profiles__state.cc | 4 +- ...ources_sandbox__internals_sandbox__internals.ts | 29 -- ..._appearance__page_appearance__browser__proxy.ts | 20 -- ...settings_appearance__page_appearance__page.html | 29 -- ...s_settings_appearance__page_appearance__page.ts | 65 ---- ...atch-chrome_browser_resources_settings_route.ts | 11 - ...sync__confirmation_sync__confirmation__app.html | 20 -- ...browsing_download__protection_file__analyzer.cc | 4 +- ...rowser_screen__ai_screen__ai__install__state.cc | 29 ++ ..._search__engine__choice__client__side__trial.cc | 4 +- ...ice_search__engine__choice__service__factory.cc | 20 ++ ...rowser_sharing_sharing__device__registration.cc | 4 +- ...ser_sharing_sharing__handler__registry__impl.cc | 4 +- ..._user_supervised__user__navigation__observer.cc | 6 +- ...h-chrome_browser_sync_sync__service__factory.cc | 6 +- ...me_browser_task__manager_sampling_task__group.h | 8 +- ...r_task__manager_sampling_task__manager__impl.cc | 4 +- ...-chrome_browser_ui_actions_chrome__action__id.h | 4 +- .../files/patch-chrome_browser_ui_browser.h | 6 +- .../files/patch-chrome_browser_ui_chrome__pages.cc | 4 +- ...e_browser_ui_omnibox_chrome__omnibox__client.cc | 21 -- ...r_ui_omnibox_omnibox__pedal__implementations.cc | 4 +- ...rollers_relaunch__chrome__bubble__controller.cc | 20 ++ ..._passwords_manage__passwords__ui__controller.cc | 20 ++ ...e_browser_ui_signin_signin__view__controller.cc | 6 +- ..._ui_signin_signin__view__controller__delegate.h | 4 +- ...browser_ui_startup_startup__browser__creator.cc | 8 +- ...r_ui_startup_startup__browser__creator__impl.cc | 4 +- .../files/patch-chrome_browser_ui_tab__helpers.cc | 6 +- ...rowser_ui_tabs_organization_trigger__observer.h | 10 - .../files/patch-chrome_browser_ui_ui__features.cc | 4 +- .../files/patch-chrome_browser_ui_ui__features.h | 4 +- ...h-chrome_browser_ui_views_accelerator__table.cc | 4 +- ...rome_browser_ui_views_chrome__views__delegate.h | 4 +- ...owser_ui_views_compose_compose__dialog__view.cc | 11 + ...chrome_browser_ui_views_frame_browser__frame.cc | 14 +- ...-chrome_browser_ui_views_frame_browser__frame.h | 31 +- ...ws_frame_browser__frame__view__layout__linux.cc | 11 + ..._browser__frame__view__layout__linux__native.cc | 11 + ...r_ui_views_frame_browser__frame__view__linux.cc | 20 ++ ...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 | 14 +- ...r_ui_views_frame_opaque__browser__frame__view.h | 10 +- ...paque__browser__frame__view__layout__delegate.h | 14 +- ...e_picture__in__picture__browser__frame__view.cc | 26 +- ...me_picture__in__picture__browser__frame__view.h | 28 +- ...wser_ui_views_frame_tab__strip__region__view.cc | 4 +- ...chrome_browser_ui_views_hung__renderer__view.cc | 4 +- ...views_passwords_password__bubble__view__base.cc | 20 ++ ..._ui_views_profiles_profile__menu__view__base.cc | 4 +- ...es_signin__view__controller__delegate__views.cc | 18 +- ...les_signin__view__controller__delegate__views.h | 8 +- ...e_browser_ui_views_tab__search__bubble__host.cc | 4 +- .../patch-chrome_browser_ui_views_tabs_tab.cc | 6 +- ..._browser_ui_views_tabs_tab__drag__controller.cc | 14 +- ...ui_views_tabs_tab__hover__card__bubble__view.cc | 4 +- ...r_ui_views_tabs_tab__hover__card__controller.cc | 4 +- ..._education_browser__user__education__service.cc | 4 +- ...eb__apps_web__app__integration__test__driver.cc | 22 +- ...eb__applications_web__app__ui__manager__impl.cc | 20 ++ ...web__applications_web__app__ui__manager__impl.h | 11 + ..._ui_webui_app__home_app__home__page__handler.cc | 6 +- ...i_webui_chrome__web__ui__controller__factory.cc | 10 +- ...e_browser_ui_webui_management_management__ui.cc | 17 +- ..._ui_webui_management_management__ui__handler.cc | 12 +- ...r_ui_webui_management_management__ui__handler.h | 6 +- ...ebui_password__manager_promo__cards__handler.cc | 20 ++ ...manager_promo__cards_relaunch__chrome__promo.cc | 20 ++ ...me_browser_ui_webui_realbox_realbox__handler.cc | 8 +- ..._webui_settings_accessibility__main__handler.cc | 15 +- ...i_webui_settings_accessibility__main__handler.h | 13 +- ...tings_settings__localized__strings__provider.cc | 44 +-- ...ions_commands_install__app__locally__command.cc | 4 +- ...pplications_policy_web__app__policy__manager.cc | 4 +- ...s_test_os__integration__test__override__impl.cc | 6 +- ...thn_chrome__authenticator__request__delegate.cc | 4 +- .../files/patch-chrome_common_chrome__features.cc | 20 +- .../files/patch-chrome_common_chrome__features.h | 16 +- .../files/patch-chrome_common_chrome__paths.cc | 14 +- .../files/patch-chrome_common_chrome__paths.h | 8 +- .../files/patch-chrome_common_chrome__switches.cc | 4 +- .../files/patch-chrome_common_chrome__switches.h | 4 +- .../files/patch-chrome_common_crash__keys.cc | 23 -- .../files/patch-chrome_common_pref__names.h | 18 +- .../files/patch-chrome_common_url__constants.h | 4 +- .../patch-chrome_common_webui__url__constants.cc | 14 +- .../patch-chrome_common_webui__url__constants.h | 9 +- ...vices_printing_print__backend__service__impl.cc | 12 +- www/chromium/files/patch-chrome_test_BUILD.gn | 4 +- .../patch-chrome_test_chromedriver_capabilities.cc | 26 -- .../files/patch-chrome_updater_configurator.cc | 6 +- ...ecast_browser_cast__content__browser__client.cc | 4 +- ...tch-components_autofill__payments__strings.grdp | 11 - ...utofill_core_browser_personal__data__manager.cc | 4 +- ...ill_core_common_autofill__payments__features.cc | 4 +- ...mponents_autofill_core_common_autofill__util.cc | 4 +- .../files/patch-components_commerce__strings.grdp | 11 - ...onents_commerce_core_commerce__feature__list.cc | 6 +- ...ch-components_components__chromium__strings.grd | 11 - ...ponents_components__google__chrome__strings.grd | 11 - ...ngs_core_browser_website__settings__registry.cc | 4 +- ...omponents_cookie__config_cookie__store__util.cc | 4 +- ...h-components_eye__dropper_eye__dropper__view.cc | 4 +- ...onents_eye__dropper_eye__dropper__view__aura.cc | 11 - ...e__engagement_public_feature__configurations.cc | 4 +- ...eature__engagement_public_feature__constants.cc | 6 +- ...feature__engagement_public_feature__constants.h | 6 +- ...nts_feature__engagement_public_feature__list.cc | 10 +- ...ents_feature__engagement_public_feature__list.h | 18 +- .../patch-components_management__strings.grdp | 11 - ...omponents_media__router_common_media__source.cc | 11 + ...rator_browser_network__session__configurator.cc | 4 +- ...ser_network__session__configurator__unittest.cc | 4 +- ...atch-components_new__or__sad__tab__strings.grdp | 20 -- ...imization__guide_core_tflite__model__executor.h | 62 ---- ...ger_core_browser_features_password__features.cc | 15 +- ...ager_core_browser_features_password__features.h | 11 + ...manager_core_browser_password__form__manager.cc | 29 ++ ...word__manager_core_browser_password__manager.cc | 11 + ...ssword__store_login__database__async__helper.cc | 11 + ...er_core_common_password__manager__pref__names.h | 11 + ...licy_core_common_cloud_cloud__policy__client.cc | 4 +- .../patch-components_qr__code__generator_BUILD.gn | 4 +- ...atch-components_qr__code__generator_features.cc | 16 +- ...ents_qr__code__generator_qr__code__generator.cc | 14 +- ...mponents_safe__browsing_core_common_features.cc | 11 + ...gine__choice_search__engine__choice__service.cc | 11 + ...nents_search__engines_template__url__service.cc | 4 +- ...nts_services_screen__ai_public_cpp_utilities.cc | 20 ++ ...mponents_signin_public_base_signin__switches.cc | 11 + ...omponents_signin_public_base_signin__switches.h | 11 + ..._metric__utils_common_startup__metric__utils.cc | 4 +- ...supervised__user_core_browser_proto__fetcher.cc | 39 --- ..._supervised__user_core_browser_proto__fetcher.h | 21 -- ..._user_core_browser_supervised__user__service.cc | 4 +- ...onents_supervised__user_core_common_features.cc | 40 ++- .../files/patch-components_sync_base_features.cc | 4 +- ... => patch-components_system__cpu_cpu__probe.cc} | 4 +- ..._formatter_spoof__checks_idn__spoof__checker.cc | 4 +- ...nents_variations_service_variations__service.cc | 4 +- ...isplay__embedder_skia__output__surface__impl.cc | 4 +- ...mbedder_skia__output__surface__impl__on__gpu.cc | 15 - ..._display__embedder_software__output__surface.cc | 4 +- ...omponents_viz_service_display_skia__renderer.cc | 4 +- .../files/patch-content_app_content__main.cc | 4 +- ...atch-content_app_content__main__runner__impl.cc | 10 +- www/chromium/files/patch-content_browser_BUILD.gn | 4 +- .../patch-content_browser_audio_audio__service.cc | 6 +- ..._browser_browser__child__process__host__impl.cc | 6 +- ...t_browser_browser__child__process__host__impl.h | 6 +- .../patch-content_browser_browser__main__loop.cc | 8 +- ...tent_browser_child__process__launcher__helper.h | 6 +- ...patch-content_browser_download_save__package.cc | 16 - ..._gpu_gpu__memory__buffer__manager__singleton.cc | 8 +- ...patch-content_browser_gpu_gpu__process__host.cc | 8 +- ..._group_header__direct__from__seller__signals.cc | 14 - ...r_renderer__host_render__process__host__impl.cc | 25 +- ...er_renderer__host_render__process__host__impl.h | 4 +- ...wser_renderer__host_render__view__host__impl.cc | 4 +- ...derer__host_render__widget__host__view__aura.cc | 12 +- ...nderer__host_render__widget__host__view__aura.h | 4 +- ...ce__worker_service__worker__context__wrapper.cc | 15 - ...patch-content_browser_utility__process__host.cc | 37 ++- .../patch-content_browser_utility__process__host.h | 10 +- ...r_utility__process__host__receiver__bindings.cc | 10 +- www/chromium/files/patch-content_child_BUILD.gn | 4 +- www/chromium/files/patch-content_common_BUILD.gn | 6 +- .../files/patch-content_common_features.cc | 8 +- www/chromium/files/patch-content_common_features.h | 8 +- ...-content_common_mojo__core__library__support.cc | 4 +- ...t_ppapi__plugin_ppapi__blink__platform__impl.cc | 8 +- ...nt_ppapi__plugin_ppapi__blink__platform__impl.h | 4 +- ...tent_public_browser_content__browser__client.cc | 4 +- ...web__ui__browser__interface__broker__registry.h | 16 - ...atch-content_public_common_content__features.cc | 15 +- ...atch-content_public_common_content__switches.cc | 6 +- .../patch-content_renderer_render__thread__impl.cc | 10 +- ...ent_renderer_renderer__blink__platform__impl.cc | 10 +- ...tent_renderer_renderer__blink__platform__impl.h | 4 +- www/chromium/files/patch-content_test_BUILD.gn | 6 +- .../files/patch-content_utility_services.cc | 32 +- .../files/patch-content_utility_utility__main.cc | 22 +- .../patch-content_utility_utility__thread__impl.cc | 4 +- .../files/patch-content_zygote_zygote__linux.cc | 4 +- ...sions_browser_api_management_management__api.cc | 4 +- ...sions_browser_api_messaging_message__service.cc | 4 +- .../files/patch-extensions_common_command.cc | 4 +- ...image_angle__vulkan__image__backing__factory.cc | 4 +- ...e_shared__image_external__vk__image__backing.cc | 10 +- ..._image_external__vk__image__backing__factory.cc | 4 +- ...red__image_ozone__image__gl__textures__holder.h | 10 - ...service_shared__image_shared__image__factory.cc | 4 +- ...service_shared__image_shared__image__manager.cc | 4 +- ...ommand__buffer_service_webgpu__decoder__impl.cc | 6 +- .../files/patch-gpu_config_gpu__info__collector.cc | 4 +- .../files/patch-gpu_ipc_service_gpu__init.cc | 18 +- www/chromium/files/patch-gpu_ipc_service_x__util.h | 17 +- .../patch-gpu_vulkan_vulkan__device__queue.cc | 4 +- .../files/patch-gpu_vulkan_vulkan__device__queue.h | 4 +- .../patch-gpu_vulkan_vulkan__function__pointers.cc | 8 +- .../files/patch-gpu_vulkan_vulkan__util.cc | 4 +- ..._browser_headless__request__context__manager.cc | 4 +- .../files/patch-ipc_ipc__message__utils.cc | 4 +- www/chromium/files/patch-media_BUILD.gn | 4 +- www/chromium/files/patch-media_audio_BUILD.gn | 6 +- .../patch-media_base_cdm__promise__adapter.cc | 16 - .../patch-media_base_libvpx__thread__wrapper.cc | 24 ++ .../files/patch-media_base_media__switches.cc | 40 ++- .../files/patch-media_base_media__switches.h | 17 +- .../files/patch-media_base_scopedfd__helper.h | 11 - .../files/patch-media_base_video__frame.cc | 10 +- www/chromium/files/patch-media_base_video__frame.h | 6 +- ...h-media_capture_video_linux_fake__v4l2__impl.cc | 4 +- ..._capture_video_linux_v4l2__capture__delegate.cc | 26 +- .../files/patch-media_gpu_buffer__validation.cc | 33 +- ...a_gpu_chromeos_platform__video__frame__utils.cc | 23 +- ...-media_gpu_chromeos_video__decoder__pipeline.cc | 6 +- .../patch-media_gpu_vaapi_vaapi__video__decoder.cc | 4 +- .../files/patch-media_gpu_vaapi_vaapi__wrapper.cc | 13 +- www/chromium/files/patch-media_media__options.gni | 6 +- .../patch-media_video_fake__gpu__memory__buffer.cc | 4 +- ...ideo_gpu__memory__buffer__video__frame__pool.cc | 8 +- .../files/patch-mojo_public_c_system_thunks.cc | 8 +- .../patch-mojo_public_tools_bindings_mojom.gni | 4 +- www/chromium/files/patch-net_BUILD.gn | 14 +- www/chromium/files/patch-net_base_features.cc | 4 +- .../patch-net_base_network__change__notifier.cc | 4 +- .../files/patch-net_cert_cert__verify__proc.h | 4 +- www/chromium/files/patch-net_dns_BUILD.gn | 8 +- www/chromium/files/patch-net_dns_address__info.cc | 4 +- .../patch-net_dns_public_scoped__res__state.h | 4 +- ...xy__resolution_proxy__config__service__linux.cc | 8 +- .../files/patch-net_socket_udp__socket__posix.cc | 8 +- ...verify__tool_cert__verify__comparision__tool.cc | 8 +- ..._tools_cert__verify__tool_cert__verify__tool.cc | 8 +- ...patch-net_url__request_url__request__context.cc | 4 +- .../patch-net_url__request_url__request__context.h | 4 +- ..._url__request_url__request__context__builder.cc | 4 +- .../files/patch-pdf_pdfium_pdfium__engine.cc | 4 +- ...ting_host_base_desktop__environment__options.cc | 4 +- .../files/patch-remoting_host_chromoting__host.cc | 4 +- .../files/patch-remoting_host_client__session.cc | 4 +- .../patch-remoting_host_remoting__me2me__host.cc | 14 +- .../patch-remoting_host_setup_start__host__main.cc | 6 +- .../patch-remoting_resources_remoting__strings.grd | 20 -- www/chromium/files/patch-sandbox_policy_BUILD.gn | 8 +- www/chromium/files/patch-sandbox_policy_sandbox.cc | 4 +- .../patch-services_network_network__context.cc | 6 +- .../patch-services_network_network__context.h | 4 +- .../patch-services_network_network__service.cc | 8 +- .../patch-services_network_network__service.h | 8 +- .../patch-services_network_public_cpp_BUILD.gn | 4 +- .../patch-services_network_public_mojom_BUILD.gn | 6 +- ...video__capture_video__capture__service__impl.cc | 30 +- ..._video__capture_video__capture__service__impl.h | 26 +- www/chromium/files/patch-skia_ext_font__utils.cc | 20 ++ .../files/patch-third__party_angle_BUILD.gn | 8 +- ...tch-third__party_angle_src_libANGLE_Display.cpp | 4 +- ...h-third__party_blink_public_platform_platform.h | 4 +- ...blink_renderer_controller_blink__initializer.cc | 8 +- ...blink_renderer_core_exported_web__view__impl.cc | 4 +- ...y_blink_renderer_core_frame_web__frame__test.cc | 6 +- ...html_parser_html__document__parser__fastpath.cc | 14 - ..._renderer_core_scroll_scrollbar__theme__aura.cc | 4 +- ...party_blink_renderer_core_xml_xslt__processor.h | 4 +- ...k_renderer_core_xml_xslt__processor__libxslt.cc | 4 +- ...nderer_modules_canvas_canvas2d_canvas__style.cc | 33 -- ..._audio_audio__renderer__mixer__manager__test.cc | 4 +- ...renderer_modules_ml_webnn_ml__graph__xnnpack.cc | 4 +- ...peerconnection_webrtc__audio__renderer__test.cc | 4 +- ...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 +- ...rty_blink_renderer_platform_fonts_font__cache.h | 4 +- ..._blink_renderer_platform_fonts_font__metrics.cc | 16 +- ...y_blink_renderer_platform_fonts_font__palette.h | 26 -- ...nderer_platform_fonts_palette__interpolation.cc | 15 - ...derer_platform_runtime__enabled__features.json5 | 10 +- ...platform_video__capture_video__capture__impl.cc | 4 +- ...ty_boringssl_src_util_generate__build__files.py | 6 +- ...party_dawn_src_dawn_native_vulkan_BackendVk.cpp | 4 +- ...tch-third__party_leveldatabase_env__chromium.cc | 4 +- .../patch-third__party_libc++_src_src_chrono.cpp | 10 +- ...libc++_src_src_filesystem_filesystem__clock.cpp | 10 +- .../files/patch-third__party_pdfium_pdfium.gni | 4 +- ...y_pdfium_third__party_base_compiler__specific.h | 11 - ...trace__processor_db_column_numeric__storage.cc} | 10 +- ...etto_src_tracing_core_tracing__service__impl.cc | 4 +- ...-third__party_sqlite_src_amalgamation_sqlite3.c | 6 +- ...d__party_vulkan-deps_vulkan-loader_src_BUILD.gn | 4 +- ...vulkan-loader_src_loader_vk__loader__platform.h | 4 +- .../files/patch-third__party_zlib_BUILD.gn | 8 +- .../files/patch-tools_grit_grit_node_base.py | 12 + ...ols_json__schema__compiler_feature__compiler.py | 4 +- ...ls_memory_partition__allocator_inspect__utils.h | 4 +- ...ch-tools_perf_chrome__telemetry__build_BUILD.gn | 4 +- ...tch-ui_base_clipboard_clipboard__non__backed.cc | 4 +- ...-ui_base_ime_init_input__method__initializer.cc | 29 ++ .../files/patch-ui_base_ui__base__features.cc | 4 +- www/chromium/files/patch-ui_base_ui__base__types.h | 11 - .../files/patch-ui_base_x_x11__display__util.cc | 364 +++++++++++++++++++++ www/chromium/files/patch-ui_base_x_x11__util.cc | 23 ++ www/chromium/files/patch-ui_base_x_x11__util.h | 13 + .../files/patch-ui_compositor_compositor.cc | 10 +- .../files/patch-ui_compositor_compositor.h | 21 +- .../patch-ui_compositor_compositor__observer.h | 19 +- www/chromium/files/patch-ui_events_event.cc | 10 +- ...nts_gesture__detection_motion__event__generic.h | 10 - ...ch-ui_events_keycodes_dom_keycode__converter.cc | 8 +- ...tch-ui_events_keycodes_dom_keycode__converter.h | 4 +- www/chromium/files/patch-ui_gfx_BUILD.gn | 4 +- www/chromium/files/patch-ui_gfx_canvas__skia.cc | 4 +- .../files/patch-ui_gfx_linux_gbm__wrapper.cc | 4 +- .../files/patch-ui_gfx_native__widget__types.h | 6 +- www/chromium/files/patch-ui_gfx_x_xlib__support.cc | 12 +- www/chromium/files/patch-ui_gl_BUILD.gn | 4 +- www/chromium/files/patch-ui_gl_gl__context.cc | 4 +- www/chromium/files/patch-ui_gl_gl__switches.cc | 21 +- www/chromium/files/patch-ui_gtk_gtk__ui.cc | 22 -- ...tform_wayland_host_wayland__toplevel__window.cc | 8 +- ...atform_wayland_host_wayland__toplevel__window.h | 8 +- ..._ozone_platform_wayland_host_wayland__window.cc | 14 +- ...i_ozone_platform_wayland_host_wayland__window.h | 12 +- ...rm_wayland_host_xdg__toplevel__wrapper__impl.cc | 12 +- ...ne_platform_wayland_ozone__platform__wayland.cc | 8 +- ...h-ui_ozone_platform_x11_ozone__platform__x11.cc | 11 - .../patch-ui_ozone_platform_x11_x11__window.cc | 11 + .../files/patch-ui_ozone_public_ozone__platform.h | 11 - ...i_ozone_test_mock__platform__window__delegate.h | 8 +- ..._platform__window_platform__window__delegate.cc | 8 +- ...i_platform__window_platform__window__delegate.h | 8 +- .../patch-ui_strings_app__locale__settings.grd | 11 - .../patch-ui_views_controls_textfield_textfield.cc | 10 +- .../files/patch-ui_views_views__delegate.cc | 4 +- .../files/patch-ui_views_views__delegate.h | 4 +- ...top__aura_desktop__drag__drop__client__ozone.cc | 4 +- ...ktop__aura_desktop__drag__drop__client__ozone.h | 6 +- ...__aura_desktop__window__tree__host__platform.cc | 10 +- ...e__host__platform__impl__interactive__uitest.cc | 4 +- .../files/patch-ui_views_widget_root__view.cc | 11 + www/chromium/files/patch-ui_views_widget_widget.cc | 4 +- www/chromium/files/patch-ui_views_widget_widget.h | 4 +- www/chromium/files/patch-v8_BUILD.gn | 10 +- www/chromium/files/patch-v8_include_v8-internal.h | 6 +- www/chromium/files/patch-v8_include_v8config.h | 8 +- www/chromium/files/patch-v8_src_api_api.cc | 4 +- .../files/patch-v8_src_execution_isolate.cc | 4 +- ...wasm_baseline_ia32_liftoff-assembler-ia32-inl.h | 32 +- 451 files changed, 2783 insertions(+), 2874 deletions(-) diff --git a/www/chromium/Makefile b/www/chromium/Makefile index e5f6cc1cd8b7..fc38e8f59427 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -1,5 +1,5 @@ PORTNAME= chromium -PORTVERSION= 121.0.6167.184 +PORTVERSION= 122.0.6261.69 CATEGORIES= www wayland MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \ https://nerd.hu/distfiles/:external diff --git a/www/chromium/distinfo b/www/chromium/distinfo index a20ff6a2b5f9..655328357dda 100644 --- a/www/chromium/distinfo +++ b/www/chromium/distinfo @@ -1,9 +1,9 @@ -TIMESTAMP = 1707897003 -SHA256 (chromium-121.0.6167.184.tar.xz) = 9fd6b82e7077ac26ec264bfcfc8ac8e0c2a0240378f035c9c0f34ad467aef09d -SIZE (chromium-121.0.6167.184.tar.xz) = 3351296496 -SHA256 (chrome-linux-121.0.6167.184-llvm17.profdata.tar.xz) = 5c2d5524a892e6b0d2e86c676cef3c4eae5cdb476068b0fe13d9f662b6dc0d3f -SIZE (chrome-linux-121.0.6167.184-llvm17.profdata.tar.xz) = 29927052 -SHA256 (chromium-121.0.6167.184-testdata.tar.xz) = 5d7a2db98f2dc8b3f405276e2c47c0caf60b469a8f31aac804ccd4779356fa61 -SIZE (chromium-121.0.6167.184-testdata.tar.xz) = 271163348 +TIMESTAMP = 1708722414 +SHA256 (chromium-122.0.6261.69.tar.xz) = f5bf4085ad3173883b45ea72b483d07f50ec3aa0f7546ac3837a9d26d0b4f9c0 +SIZE (chromium-122.0.6261.69.tar.xz) = 3416746640 +SHA256 (chrome-linux-122.0.6261.69-llvm17.profdata.tar.xz) = c5c3945baedbedf82b5d19e0d0aa1a561e0139da4b8499b4dc651c82e1c658c1 +SIZE (chrome-linux-122.0.6261.69-llvm17.profdata.tar.xz) = 29723280 +SHA256 (chromium-122.0.6261.69-testdata.tar.xz) = 2e66734827c136567a1d8f7bc5df2fa8f5558c78815509b60e1546089ae22b01 +SIZE (chromium-122.0.6261.69-testdata.tar.xz) = 282170324 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 9297be79c1bc..26c8e3e07811 100644 --- a/www/chromium/files/patch-BUILD.gn +++ b/www/chromium/files/patch-BUILD.gn @@ -1,6 +1,6 @@ ---- BUILD.gn.orig 2024-01-30 07:53:34 UTC +--- BUILD.gn.orig 2024-02-23 21:04:38 UTC +++ BUILD.gn -@@ -62,7 +62,7 @@ declare_args() { +@@ -63,7 +63,7 @@ declare_args() { root_extra_deps = [] } @@ -9,7 +9,7 @@ # An official (maximally optimized!) component (optimized for build times) # build doesn't make sense and usually doesn't work. assert(!is_component_build) -@@ -94,7 +94,6 @@ group("gn_all") { +@@ -95,7 +95,6 @@ group("gn_all") { "//codelabs", "//components:components_unittests", "//components/gwp_asan:gwp_asan_unittests", @@ -17,7 +17,7 @@ "//net:net_unittests", "//sandbox:sandbox_unittests", "//services:services_unittests", -@@ -417,7 +416,7 @@ group("gn_all") { +@@ -425,7 +424,7 @@ group("gn_all") { } } @@ -26,7 +26,7 @@ deps += [ "//third_party/breakpad:breakpad_unittests", "//third_party/breakpad:core-2-minidump", -@@ -617,6 +616,15 @@ group("gn_all") { +@@ -625,6 +624,15 @@ group("gn_all") { } } @@ -42,7 +42,7 @@ if (is_mac) { deps += [ "//third_party/breakpad:dump_syms", -@@ -663,7 +671,7 @@ group("gn_all") { +@@ -671,7 +679,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)" ] } -@@ -1084,7 +1092,7 @@ if (use_blink && !is_cronet_build) { +@@ -1092,7 +1100,7 @@ if (use_blink && !is_cronet_build) { ] } @@ -60,7 +60,7 @@ script_test("chrome_wpt_tests") { script = "//third_party/blink/tools/run_wpt_tests.py" args = [ -@@ -1174,7 +1182,7 @@ if (use_blink && !is_cronet_build) { +@@ -1183,7 +1191,7 @@ if (use_blink && !is_cronet_build) { data_deps += [ "//content/web_test:web_test_common_mojom_js_data_deps" ] } @@ -69,7 +69,7 @@ data_deps += [ "//third_party/breakpad:minidump_stackwalk($host_toolchain)" ] } -@@ -1183,7 +1191,7 @@ if (use_blink && !is_cronet_build) { +@@ -1192,7 +1200,7 @@ if (use_blink && !is_cronet_build) { data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ] } @@ -78,7 +78,7 @@ data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ] } -@@ -1624,7 +1632,7 @@ group("chromium_builder_perf") { +@@ -1642,7 +1650,7 @@ group("chromium_builder_perf") { data_deps += [ "//chrome/test:performance_browser_tests" ] } diff --git a/www/chromium/files/patch-base_BUILD.gn b/www/chromium/files/patch-base_BUILD.gn index d4d6a4076bb8..1ea08cf2eb2c 100644 --- a/www/chromium/files/patch-base_BUILD.gn +++ b/www/chromium/files/patch-base_BUILD.gn @@ -1,6 +1,6 @@ ---- base/BUILD.gn.orig 2024-01-30 07:53:34 UTC +--- base/BUILD.gn.orig 2024-02-23 21:04:38 UTC +++ base/BUILD.gn -@@ -186,7 +186,7 @@ buildflag_header("ios_cronet_buildflags") { +@@ -187,7 +187,7 @@ buildflag_header("ios_cronet_buildflags") { flags = [ "CRONET_BUILD=$is_cronet_build" ] } @@ -9,7 +9,7 @@ buildflag_header("message_pump_buildflags") { header = "message_pump_buildflags.h" header_dir = "base/message_loop" -@@ -1098,11 +1098,23 @@ component("base") { +@@ -1118,11 +1118,23 @@ 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. @@ -34,7 +34,7 @@ if (use_allocator_shim) { if (is_apple) { sources += [ "allocator/early_zone_registration_apple.h" ] -@@ -1122,7 +1134,7 @@ component("base") { +@@ -1142,7 +1154,7 @@ component("base") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -43,7 +43,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -2077,6 +2089,22 @@ component("base") { +@@ -2088,6 +2100,22 @@ component("base") { ] } @@ -66,7 +66,7 @@ # iOS if (is_ios) { sources += [ -@@ -2207,6 +2235,29 @@ component("base") { +@@ -2218,6 +2246,31 @@ component("base") { } } @@ -84,6 +84,8 @@ + "profiler/thread_delegate_posix.cc", + "profiler/thread_delegate_posix.h", + "threading/platform_thread_linux.cc", ++ "stack_canary_linux.cc", ++ "stack_canary_linux.h", + ] + sources += [ + "files/file_path_watcher_kqueue.cc", @@ -96,7 +98,7 @@ if (use_blink) { sources += [ "files/file_path_watcher.cc", -@@ -2217,7 +2268,7 @@ component("base") { +@@ -2228,7 +2281,7 @@ component("base") { } if (dep_libevent) { @@ -105,7 +107,16 @@ } if (use_libevent) { -@@ -3615,7 +3666,7 @@ test("base_unittests") { +@@ -2993,7 +3046,7 @@ if (is_apple) { + } + } + +-if (!is_nacl && (is_linux || is_chromeos)) { ++if (!is_nacl && !is_bsd && (is_linux || is_chromeos)) { + # This test must compile with -fstack-protector-all + source_set("stack_canary_linux_unittests") { + testonly = true +@@ -3629,14 +3682,14 @@ test("base_unittests") { ] } @@ -114,7 +125,15 @@ sources += [ "debug/proc_maps_linux_unittest.cc", "files/scoped_file_linux_unittest.cc", -@@ -3637,7 +3688,7 @@ test("base_unittests") { + "nix/mime_util_xdg_unittest.cc", + ] + +- if (!is_nacl) { ++ if (!is_nacl && !is_bsd) { + deps += [ ":stack_canary_linux_unittests" ] + } + } +@@ -3651,7 +3704,7 @@ test("base_unittests") { "posix/file_descriptor_shuffle_unittest.cc", "posix/unix_domain_socket_unittest.cc", ] @@ -123,7 +142,7 @@ sources += [ "profiler/stack_base_address_posix_unittest.cc", "profiler/stack_copier_signal_unittest.cc", -@@ -3648,7 +3699,7 @@ test("base_unittests") { +@@ -3662,7 +3715,7 @@ test("base_unittests") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -132,7 +151,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -3909,7 +3960,7 @@ test("base_unittests") { +@@ -3925,7 +3978,7 @@ test("base_unittests") { } } diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni index 02e6d3272fee..7ace56892161 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni +++ b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni @@ -1,11 +1,11 @@ ---- base/allocator/partition_allocator/partition_alloc.gni.orig 2024-01-30 07:53:34 UTC +--- base/allocator/partition_allocator/partition_alloc.gni.orig 2024-02-23 21:04:38 UTC +++ base/allocator/partition_allocator/partition_alloc.gni -@@ -333,7 +333,7 @@ declare_args() { - # pkeys support is explicitly disabled in all Cronet builds, as some test +@@ -335,7 +335,7 @@ declare_args() { # dependencies that use partition_allocator are compiled in AOSP against a # version of glibc that does not include pkeys syscall numbers. -- enable_pkeys = is_linux && target_cpu == "x64" && !is_cronet_build -+ enable_pkeys = (is_linux && !is_bsd) && target_cpu == "x64" && !is_cronet_build + enable_pkeys = +- (is_linux || is_chromeos) && target_cpu == "x64" && !is_cronet_build ++ !is_bsd && (is_linux || is_chromeos) && target_cpu == "x64" && !is_cronet_build } - assert(!enable_pkeys || (is_linux && target_cpu == "x64"), - "Pkeys are only supported on x64 linux") + assert(!enable_pkeys || ((is_linux || is_chromeos) && target_cpu == "x64"), + "Pkeys are only supported on x64 linux and ChromeOS") diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn index bb931a2fb1d3..19500f839d60 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn +++ b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/src/partition_alloc/BUILD.gn.orig 2024-01-30 07:53:34 UTC +--- base/allocator/partition_allocator/src/partition_alloc/BUILD.gn.orig 2024-02-23 21:04:38 UTC +++ base/allocator/partition_allocator/src/partition_alloc/BUILD.gn -@@ -855,7 +855,7 @@ if (is_clang_or_gcc) { +@@ -852,7 +852,7 @@ if (is_clang_or_gcc) { configs -= [ "//build/config/compiler:enable_arc" ] } } diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h index 4b346bf37208..a2a366e6c264 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h +++ b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h @@ -1,4 +1,4 @@ ---- base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.h.orig 2023-12-10 06:10:27 UTC +--- base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.h.orig 2024-02-23 21:04:38 UTC +++ base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.h @@ -38,7 +38,7 @@ AslrMask(uintptr_t bits) { @@ -9,7 +9,7 @@ // We shouldn't allocate system pages at all for sanitizer builds. However, // we do, and if random hint addresses interfere with address ranges -@@ -124,7 +124,7 @@ AslrMask(uintptr_t bits) { +@@ -126,7 +126,7 @@ AslrMask(uintptr_t bits) { return AslrAddress(0x20000000ULL); } diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator.h b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator.h index 9111045d8c2a..5ead2f4b8adb 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator.h +++ b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator.h @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/src/partition_alloc/page_allocator.h.orig 2023-12-10 06:10:27 UTC +--- base/allocator/partition_allocator/src/partition_alloc/page_allocator.h.orig 2024-02-23 21:04:38 UTC +++ base/allocator/partition_allocator/src/partition_alloc/page_allocator.h -@@ -258,7 +258,7 @@ void DecommitAndZeroSystemPages(void* address, +@@ -256,7 +256,7 @@ bool DecommitAndZeroSystemPages(void* address, // recommitted. Do not assume that this will not change over time. constexpr PA_COMPONENT_EXPORT( PARTITION_ALLOC) bool DecommittedMemoryIsAlwaysZeroed() { diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h index ddd3c1b7a34b..2296c9fc1e02 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h +++ b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h @@ -1,11 +1,11 @@ ---- base/allocator/partition_allocator/src/partition_alloc/page_allocator_constants.h.orig 2023-12-10 06:10:27 UTC +--- base/allocator/partition_allocator/src/partition_alloc/page_allocator_constants.h.orig 2024-02-23 21:04:38 UTC +++ base/allocator/partition_allocator/src/partition_alloc/page_allocator_constants.h @@ -25,7 +25,7 @@ // elimination. #define PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONSTEXPR __attribute__((const)) --#elif BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64) -+#elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64) +-#elif (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)) && defined(ARCH_CPU_ARM64) ++#elif (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64) // This should work for all POSIX (if needed), but currently all other // supported OS/architecture combinations use either hard-coded values // (such as x86) or have means to determine these values without needing @@ -13,8 +13,8 @@ return 14; // 16kB #elif BUILDFLAG(IS_APPLE) && defined(ARCH_CPU_64_BITS) 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) +-#elif (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)) && defined(ARCH_CPU_ARM64) ++#elif (BUILDFLAG(IS_ANDROID) || 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. size_t shift = page_characteristics.shift.load(std::memory_order_relaxed); @@ -22,17 +22,17 @@ // 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; --#elif BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64) -+#elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64) +-#elif (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)) && defined(ARCH_CPU_ARM64) ++#elif (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64) // arm64 supports 4kb, 16kb, and 64kb page sizes. Retrieve from or // initialize cache. size_t size = page_characteristics.size.load(std::memory_order_relaxed); -@@ -152,7 +152,7 @@ SystemPageShift() { - PA_ALWAYS_INLINE PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONSTEXPR size_t +@@ -153,7 +153,7 @@ PA_ALWAYS_INLINE PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONS SystemPageSize() { #if (BUILDFLAG(IS_APPLE) && defined(ARCH_CPU_64_BITS)) || \ + (BUILDFLAG(IS_ANDROID) && defined(ARCH_CPU_ARM64)) || \ - (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. + // separated out for 64-bit IS_APPLE and arm64 on Android/Linux to avoid << + // on a non-constexpr. diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h index b8293b574e93..3f74e4127498 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h +++ b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.h.orig 2023-12-10 06:10:27 UTC +--- base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.h.orig 2024-02-23 21:04:38 UTC +++ base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.h -@@ -403,8 +403,12 @@ bool TryRecommitSystemPagesInternal( +@@ -411,8 +411,12 @@ bool TryRecommitSystemPagesInternal( void DiscardSystemPagesInternal(uintptr_t address, size_t length) { void* ptr = reinterpret_cast<void*>(address); diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__address__space.cc b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__address__space.cc index 8839689ed93f..a5846514a528 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__address__space.cc +++ b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__address__space.cc @@ -1,11 +1,11 @@ ---- base/allocator/partition_allocator/src/partition_alloc/partition_address_space.cc.orig 2023-12-10 06:10:27 UTC +--- base/allocator/partition_allocator/src/partition_alloc/partition_address_space.cc.orig 2024-02-23 21:04:38 UTC +++ base/allocator/partition_allocator/src/partition_alloc/partition_address_space.cc -@@ -420,7 +420,7 @@ void PartitionAddressSpace::UninitThreadIsolatedPoolFo +@@ -421,7 +421,7 @@ void PartitionAddressSpace::UninitThreadIsolatedPoolFo } #endif --#if BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64) -+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64) +-#if (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)) && defined(ARCH_CPU_ARM64) ++#if (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64) PageCharacteristics page_characteristics; diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_compiler__specific.h b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_compiler__specific.h deleted file mode 100644 index 11f8157622fd..000000000000 --- a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_compiler__specific.h +++ /dev/null @@ -1,32 +0,0 @@ ---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/compiler_specific.h.orig 2023-12-10 06:10:27 UTC -+++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/compiler_specific.h -@@ -24,9 +24,9 @@ - // Annotate a function indicating it should not be inlined. - // Use like: - // NOINLINE void DoStuff() { ... } --#if defined(__clang__) && PA_HAS_ATTRIBUTE(noinline) -+#if defined(__clang__) && (__clang_major__ >= 15) && PA_HAS_ATTRIBUTE(noinline) - #define PA_NOINLINE [[clang::noinline]] --#elif defined(COMPILER_GCC) && PA_HAS_ATTRIBUTE(noinline) -+#elif (defined(COMPILER_GCC) || defined(__clang__)) && PA_HAS_ATTRIBUTE(noinline) - #define PA_NOINLINE __attribute__((noinline)) - #elif defined(COMPILER_MSVC) - #define PA_NOINLINE __declspec(noinline) -@@ -34,7 +34,7 @@ - #define PA_NOINLINE - #endif - --#if defined(__clang__) && defined(NDEBUG) && PA_HAS_ATTRIBUTE(always_inline) -+#if defined(__clang__) && (__clang_major__ >= 15) && defined(NDEBUG) && PA_HAS_ATTRIBUTE(always_inline) - #define PA_ALWAYS_INLINE [[clang::always_inline]] inline - #elif defined(COMPILER_GCC) && defined(NDEBUG) && \ - PA_HAS_ATTRIBUTE(always_inline) -@@ -53,7 +53,7 @@ - // prevent code folding, see NO_CODE_FOLDING() in base/debug/alias.h. - // Use like: - // void NOT_TAIL_CALLED FooBar(); --#if defined(__clang__) && PA_HAS_ATTRIBUTE(not_tail_called) -+#if defined(__clang__) && (__clang_major__ >= 15) && PA_HAS_ATTRIBUTE(not_tail_called) - #define PA_NOT_TAIL_CALLED [[clang::not_tail_called]] - #else - #define PA_NOT_TAIL_CALLED diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc index a91be545f3f9..d3aa9f9ef802 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc +++ b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc @@ -1,8 +1,8 @@ ---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_posix.cc.orig 2024-01-30 07:53:34 UTC +--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_posix.cc.orig 2024-02-23 21:04:38 UTC +++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_posix.cc -@@ -12,11 +12,11 @@ - #include <string.h> - #include <unistd.h> +@@ -13,11 +13,11 @@ + #include "partition_alloc/partition_alloc_base/posix/eintr_wrapper.h" + #include "partition_alloc/partition_alloc_base/strings/safe_sprintf.h" -#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_APPLE) +#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_APPLE) && !BUILDFLAG(IS_BSD) @@ -14,16 +14,16 @@ #include <dlfcn.h> #endif -@@ -24,7 +24,7 @@ namespace partition_alloc::internal::base::debug { +@@ -25,7 +25,7 @@ namespace partition_alloc::internal::base::debug { namespace { -#if !BUILDFLAG(IS_APPLE) +#if !BUILDFLAG(IS_APPLE) && !BUILDFLAG(IS_BSD) - constexpr size_t kBufferSize = 4096u; - -@@ -358,7 +358,7 @@ void PrintStackTraceInternal(const void** trace, size_ + // On Android the 'open' function has two versions: + // int open(const char *pathname, int flags); +@@ -369,7 +369,7 @@ void PrintStackTraceInternal(const void** trace, size_ } #endif // !BUILDFLAG(IS_APPLE) diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc index 0f9f18c3a666..e9d1cc9df848 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc +++ b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/rand_util_posix.cc.orig 2023-12-10 06:10:27 UTC +--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/rand_util_posix.cc.orig 2024-02-23 21:04:38 UTC +++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/rand_util_posix.cc -@@ -90,6 +90,10 @@ void RandBytes(void* output, size_t output_length) { +@@ -102,6 +102,10 @@ void RandBytes(void* output, size_t output_length) { if (getentropy(output, output_length) == 0) { return; } diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h new file mode 100644 index 000000000000..4fa07f52d169 --- /dev/null +++ b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h @@ -0,0 +1,11 @@ +--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread.h.orig 2024-02-23 21:04:38 UTC ++++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread.h +@@ -37,6 +37,8 @@ typedef DWORD PlatformThreadId; + typedef zx_handle_t PlatformThreadId; + #elif BUILDFLAG(IS_APPLE) + typedef mach_port_t PlatformThreadId; ++#elif BUILDFLAG(IS_BSD) ++typedef uint64_t PlatformThreadId; + #elif BUILDFLAG(IS_POSIX) + typedef pid_t PlatformThreadId; + #endif diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc index e145135f9121..b311bc492836 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc +++ b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_posix.cc.orig 2024-01-30 07:53:34 UTC +--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_posix.cc.orig 2024-02-23 21:04:38 UTC +++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_posix.cc -@@ -17,7 +17,7 @@ +@@ -18,7 +18,7 @@ #include "partition_alloc/partition_alloc_base/logging.h" #include "partition_alloc/partition_alloc_base/threading/platform_thread_internal_posix.h" diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h index 4dced6bb32e0..979df47dcdc0 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h +++ b/www/chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h.orig 2024-01-30 07:53:34 UTC +--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h.orig 2024-02-23 21:04:38 UTC +++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h *** 12920 LINES SKIPPED ***