git: 063178152380 - main - www/chromium: update to 91.0.4472.101
Rene Ladan
rene at FreeBSD.org
Thu Jun 17 09:30:28 UTC 2021
The branch main has been updated by rene:
URL: https://cgit.FreeBSD.org/ports/commit/?id=06317815238060a3a7f5911f18a3dd7c95779c83
commit 06317815238060a3a7f5911f18a3dd7c95779c83
Author: Matthias Wolf <matthias at rheinwolf.de>
AuthorDate: 2021-06-17 09:22:35 +0000
Commit: Rene Ladan <rene at FreeBSD.org>
CommitDate: 2021-06-17 09:28:36 +0000
www/chromium: update to 91.0.4472.101
Security: https://vuxml.freebsd.org/freebsd/20b3ab21-c9df-11eb-8558-3065ec8fd3ec.html
---
www/chromium/Makefile | 22 +-
www/chromium/distinfo | 10 +-
.../extra-patch-build_config_compiler_pgo_pgo.gni | 2 +-
...__allocator_page__allocator__internals__posix.h | 2 +-
www/chromium/files/patch-BUILD.gn | 22 +-
www/chromium/files/patch-base_BUILD.gn | 16 +-
.../files/patch-base_allocator_allocator.gni | 4 +-
...partition__allocator_partition__alloc__config.h | 17 +
...tition__allocator_partition__alloc__unittest.cc | 6 +-
...locator_partition__allocator_partition__root.cc | 12 +-
...llocator_partition__allocator_spinning__mutex.h | 21 +-
...locator_partition__allocator_starscan_pcscan.cc | 11 +
www/chromium/files/patch-base_base__switches.cc | 6 +-
www/chromium/files/patch-base_base__switches.h | 6 +-
www/chromium/files/patch-base_bind.h | 11 -
.../files/patch-base_files_file__path__unittest.cc | 4 +-
...tch-base_files_file__path__watcher__unittest.cc | 14 +-
www/chromium/files/patch-base_files_file__util.h | 6 +-
.../files/patch-base_files_file__util__posix.cc | 18 +-
www/chromium/files/patch-base_i18n_icu__util.cc | 6 +-
.../files/patch-base_memory_discardable__memory.cc | 10 +-
.../files/patch-base_posix_unix__domain__socket.cc | 4 +-
www/chromium/files/patch-base_process_launch.h | 4 +-
www/chromium/files/patch-base_process_memory.cc | 4 +-
.../files/patch-base_process_process__metrics.cc | 19 +-
.../files/patch-base_process_process__metrics.h | 24 +-
.../patch-base_profiler_stack__copier__signal.cc | 8 +-
www/chromium/files/patch-base_test_BUILD.gn | 4 +-
www/chromium/files/patch-base_test_test__suite.cc | 8 +-
...patch-base_threading_platform__thread__posix.cc | 34 +-
...e_threading_scoped__blocking__call__unittest.cc | 6 +-
.../files/patch-base_time_time__unittest.cc | 6 +-
...tch-base_trace__event_malloc__dump__provider.cc | 6 +-
...atch-base_trace__event_process__memory__dump.cc | 4 +-
...pressure_system__memory__pressure__evaluator.cc | 20 -
www/chromium/files/patch-build_config_BUILD.gn | 6 +-
.../files/patch-build_config_BUILDCONFIG.gn | 8 +-
.../files/patch-build_config_compiler_BUILD.gn | 40 +-
.../files/patch-build_config_compiler_compiler.gni | 4 +-
.../files/patch-build_toolchain_gcc__toolchain.gni | 23 +-
.../files/patch-build_toolchain_linux_BUILD.gn | 15 +-
www/chromium/files/patch-cc_BUILD.gn | 6 +-
.../files/patch-cc_trees_frame__rate__estimator.cc | 11 -
www/chromium/files/patch-chrome_BUILD.gn | 4 +-
www/chromium/files/patch-chrome_app_BUILD.gn | 4 +-
.../patch-chrome_app_chrome__main__delegate.cc | 22 +-
.../files/patch-chrome_app_chromium__strings.grd | 6 +-
.../patch-chrome_app_generated__resources.grd | 8 +-
.../patch-chrome_app_google__chrome__strings.grd | 6 +-
.../files/patch-chrome_app_settings__strings.grdp | 6 +-
www/chromium/files/patch-chrome_browser_BUILD.gn | 8 +-
.../files/patch-chrome_browser_about__flags.cc | 116 +-
...h-chrome_browser_after__startup__task__utils.cc | 8 +-
...i_media__galleries_media__galleries__apitest.cc | 6 +-
...__galleries_media__galleries__watch__apitest.cc | 4 +-
...browser_background_background__mode__manager.cc | 4 +-
.../patch-chrome_browser_browser__resources.grd | 4 +-
...ta_chrome__browsing__data__remover__delegate.cc | 6 +-
..._browser_chrome__browser__interface__binders.cc | 15 +-
.../patch-chrome_browser_chrome__browser__main.cc | 16 +-
...ome_browser_chrome__content__browser__client.cc | 50 +-
...rome_browser_chrome__content__browser__client.h | 4 +-
...wser_crash__upload__list_crash__upload__list.cc | 12 +-
...custom__handlers_protocol__handler__registry.cc | 4 +-
...-chrome_browser_dev__ui__browser__resources.grd | 4 +-
...tity_device__oauth2__token__service__factory.cc | 4 +-
...download_chrome__download__manager__delegate.cc | 10 +-
...ch-chrome_browser_download_download__commands.h | 4 +-
...atch-chrome_browser_download_download__query.cc | 4 +-
...wser_download_download__shelf__context__menu.cc | 4 +-
...nectors_device__trust_device__trust__service.cc | 38 +
...nnectors_device__trust_device__trust__service.h | 26 +
.../files/patch-chrome_browser_extensions_BUILD.gn | 4 +-
...api_erp_chrome_desktop_report_request_helper.cc | 2 +-
...n__action_browser__action__interactive__test.cc | 4 +-
...extensions_api_settings__private_prefs__util.cc | 8 +-
...gging__private_webrtc__logging__private__api.cc | 6 +-
..._browser_extensions_external__provider__impl.cc | 6 +-
.../patch-chrome_browser_flag__descriptions.cc | 25 +-
.../patch-chrome_browser_flag__descriptions.h | 26 +-
...dia__galleries_media__file__system__registry.cc | 4 +-
...ser_media_webrtc_webrtc__logging__controller.cc | 8 +-
.../files/patch-chrome_browser_memory__details.cc | 6 +-
...chrome__browser__main__extra__parts__metrics.cc | 6 +-
...ser_metrics_chrome__metrics__service__client.cc | 6 +-
...rowser_net_system__network__context__manager.cc | 12 +-
...cations_notification__display__service__impl.cc | 8 +-
...d__manager_chrome__password__manager__client.cc | 4 +-
...r_password__manager_password__store__factory.cc | 4 +-
...atch-chrome_browser_pdf_pdf__extension__test.cc | 6 +-
...rformance__manager_policies_policy__features.cc | 10 +-
...rformance__monitor_process__metrics__history.cc | 10 +-
...formance__monitor_process__metrics__recorder.cc | 32 +-
...rowser_performance__monitor_process__monitor.cc | 8 +-
...browser_performance__monitor_process__monitor.h | 8 +-
.../patch-chrome_browser_platform__util__linux.cc | 12 +
...wser__cloud__management__controller__desktop.cc | 6 +-
...onfiguration__policy__handler__list__factory.cc | 35 +-
.../patch-chrome_browser_prefs_browser__prefs.cc | 23 +-
...tch-chrome_browser_process__singleton__posix.cc | 6 +-
...hrome__browser__main__extra__parts__profiles.cc | 4 +-
.../files/patch-chrome_browser_profiles_profile.cc | 4 +-
..._browser_profiles_profile__attributes__entry.cc | 4 +-
...atch-chrome_browser_profiles_profiles__state.cc | 4 +-
...r__context__menu_render__view__context__menu.cc | 4 +-
...h-chrome_browser_renderer__preferences__util.cc | 8 +-
...__router_extension_src_utils_platform__utils.js | 11 +
...s_settings_appearance__page_appearance__page.js | 12 +-
...ings_autofill__page_passwords__shared__css.html | 11 +
...atch-chrome_browser_resources_settings_route.js | 11 +
...owser_resources_signin_signin__shared__css.html | 11 +
...dent__reporting_incident__reporting__service.cc | 4 +-
...h-chrome_browser_search_drive_drive__service.cc | 11 +
...tch-chrome_browser_sessions_session__restore.cc | 11 +
...rowser_sharing_sharing__device__registration.cc | 4 +-
...ser_sharing_sharing__handler__registry__impl.cc | 6 +-
...rowser_sync_device__info__sync__client__impl.cc | 11 +
...er_sync_device__info__sync__service__factory.cc | 17 -
...e_browser_task__manager_sampling_task__group.cc | 4 +-
...r_task__manager_sampling_task__manager__impl.cc | 4 +-
...browser_task__manager_task__manager__observer.h | 4 +-
.../patch-chrome_browser_themes_theme__helper.cc | 4 +-
.../files/patch-chrome_browser_ui_BUILD.gn | 4 +-
...browser_ui_startup_startup__browser__creator.cc | 29 +
...r_ui_startup_startup__browser__creator__impl.cc | 11 +
.../files/patch-chrome_browser_ui_tab__helpers.cc | 8 +-
...ui_task__manager_task__manager__table__model.cc | 10 +-
...chrome_browser_ui_test_test__browser__dialog.cc | 4 +-
...ui_views_bookmarks_bookmark__bar__view__test.cc | 4 +-
...ser_ui_views_eye__dropper_eye__dropper__view.cc | 11 +
..._views_eye__dropper_eye__dropper__view__aura.cc | 11 +
...chrome_browser_ui_views_frame_browser__frame.cc | 8 +-
...-chrome_browser_ui_views_frame_browser__view.cc | 6 +-
...chrome_browser_ui_views_hung__renderer__view.cc | 4 +-
.../patch-chrome_browser_ui_views_tabs_tab.cc | 6 +-
..._browser_ui_views_tabs_tab__drag__controller.cc | 8 +-
...i_webui_chrome__web__ui__controller__factory.cc | 16 +-
..._browser_ui_webui_ntp_app__launcher__handler.cc | 4 +-
...tings_settings__localized__strings__provider.cc | 6 +-
...ponents_web__app__file__handler__registration.h | 8 +-
...ts_web__app__protocol__handler__registration.cc | 11 +
...ions_components_web__app__run__on__os__login.cc | 11 -
...eb__applications_pending__app__install__task.cc | 8 +-
...er_web__applications_web__app__install__task.cc | 8 +-
...browser_web__applications_web__app__provider.cc | 4 +-
www/chromium/files/patch-chrome_common_BUILD.gn | 6 +-
.../files/patch-chrome_common_channel__info.h | 4 +-
.../patch-chrome_common_channel__info__posix.cc | 8 +-
.../files/patch-chrome_common_chrome__features.cc | 24 +-
.../files/patch-chrome_common_chrome__features.h | 15 +-
.../files/patch-chrome_common_chrome__switches.cc | 4 +-
.../files/patch-chrome_common_chrome__switches.h | 4 +-
.../files/patch-chrome_common_pref__names.cc | 14 +-
.../files/patch-chrome_common_pref__names.h | 14 +-
.../patch-chrome_common_webui__url__constants.cc | 16 +-
.../patch-chrome_common_webui__url__constants.h | 12 +-
...services_speech_audio__source__fetcher__impl.cc | 11 +
www/chromium/files/patch-chrome_test_BUILD.gn | 8 +-
...-chrome_test_base_in__process__browser__test.cc | 8 +-
...hrome_test_base_interactive__ui__tests__main.cc | 8 +-
.../patch-chrome_test_base_test__browser__window.h | 12 +-
...e_test_chromedriver_key__converter__unittest.cc | 10 +-
.../files/patch-chrome_utility_services.cc | 8 +-
...hromecast_browser_cast__browser__main__parts.cc | 24 +-
...chromecast_browser_cast__browser__main__parts.h | 4 +-
...ecast_browser_cast__content__browser__client.cc | 8 +-
...ecast_browser_metrics_cast__browser__metrics.cc | 18 +-
...ast_renderer_cast__content__renderer__client.cc | 4 +-
www/chromium/files/patch-components_BUILD.gn | 4 +-
...ill_core_common_autofill__payments__features.cc | 4 +-
...mponents_autofill_core_common_autofill__util.cc | 4 +-
...components_cast__channel_cast__message__util.cc | 11 +
...patch-components_crash_content_browser_BUILD.gn | 4 +-
...mponents_download_internal_common_base__file.cc | 20 -
..._feature__engagement_public_event__constants.cc | 4 +-
...s_feature__engagement_public_event__constants.h | 4 +-
...e__engagement_public_feature__configurations.cc | 6 +-
...eature__engagement_public_feature__constants.cc | 8 +-
...feature__engagement_public_feature__constants.h | 6 +-
...nts_feature__engagement_public_feature__list.cc | 8 +-
...ents_feature__engagement_public_feature__list.h | 14 +-
...omponents_feed_core_proto_v2_wire_version.proto | 12 +-
.../patch-components_flags__ui_flags__state.cc | 4 +-
.../files/patch-components_metrics_metrics__log.cc | 4 +-
...rator_browser_network__session__configurator.cc | 4 +-
.../files/patch-components_os__crypt_os__crypt.h | 10 +-
...aint__preview_browser_paint__preview__client.cc | 4 +-
...icy_core_browser_policy__pref__mapping__test.cc | 6 +-
...ponents_policy_resources_policy__templates.json | 18 +-
...-components_previews_core_previews__features.cc | 18 -
...ials_content_captive__portal__blocking__page.cc | 4 +-
...onents_security__interstitials_content_utils.cc | 4 +-
...metric__utils_browser_startup__metric__utils.cc | 20 +
...storage__monitor_removable__device__constants.h | 4 +-
...sync__device__info_local__device__info__util.cc | 4 +-
..._formatter_spoof__checks_idn__spoof__checker.cc | 4 +-
.../files/patch-components_viz_common_features.cc | 8 +-
..._display__embedder_software__output__surface.cc | 6 +-
...e__sinks_root__compositor__frame__sink__impl.cc | 6 +-
...me__sinks_root__compositor__frame__sink__impl.h | 4 +-
...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 | 11 +-
..._compositor_viz__process__transport__factory.cc | 4 +-
...wser_devtools_protocol_system__info__handler.cc | 6 +-
...ent_browser_download_download__manager__impl.cc | 6 +-
.../patch-content_browser_gpu_compositor__util.cc | 12 +-
...patch-content_browser_gpu_gpu__process__host.cc | 6 +-
...content_browser_ppapi__plugin__process__host.cc | 4 +-
...rowser_renderer__host_delegated__frame__host.cc | 4 +-
...renderer__host_pepper_pepper__file__io__host.cc | 6 +-
...owser_renderer__host_render__message__filter.cc | 8 +-
...rowser_renderer__host_render__message__filter.h | 4 +-
...r_renderer__host_render__process__host__impl.cc | 16 +-
...wser_renderer__host_render__view__host__impl.cc | 4 +-
...t_render__widget__host__view__event__handler.cc | 4 +-
...scheduler_responsiveness_jank__monitor__impl.cc | 4 +-
...patch-content_browser_utility__process__host.cc | 6 +-
...wser_web__contents_web__contents__view__aura.cc | 8 +-
www/chromium/files/patch-content_common_BUILD.gn | 8 +-
www/chromium/files/patch-content_gpu_gpu__main.cc | 6 +-
...atch-content_public_common_content__constants.h | 4 +-
...atch-content_public_common_content__features.cc | 6 +-
...atch-content_public_common_content__switches.cc | 4 +-
...patch-content_public_common_content__switches.h | 11 +-
...atch-content_public_test_browser__test__base.cc | 4 +-
...patch-content_renderer_render__process__impl.cc | 10 +-
.../patch-content_renderer_render__thread__impl.cc | 28 +-
...ent_renderer_renderer__blink__platform__impl.cc | 10 +-
...tent_renderer_renderer__blink__platform__impl.h | 8 +-
...er_renderer__main__platform__delegate__linux.cc | 14 +-
...ontent_shell_browser_shell__browser__context.cc | 6 +-
www/chromium/files/patch-content_test_BUILD.gn | 8 +-
www/chromium/files/patch-content_utility_BUILD.gn | 10 +-
.../files/patch-content_utility_utility__main.cc | 14 +
www/chromium/files/patch-device_fido_features.cc | 11 +
.../patch-device_gamepad_gamepad__provider.cc | 6 +-
...sions_browser_api_messaging_message__service.cc | 10 +-
..._browser__context__keyed__service__factories.cc | 4 +-
.../files/patch-extensions_common_api_runtime.json | 4 +-
.../files/patch-extensions_common_stack__frame.cc | 4 +-
www/chromium/files/patch-extensions_shell_BUILD.gn | 4 +-
...ommand__buffer_service_webgpu__decoder__impl.cc | 4 +-
...ch-gpu_command__buffer_tests_gl__test__utils.cc | 4 +-
...-gpu_ipc_common_gpu__memory__buffer__support.cc | 12 +-
...h-gpu_ipc_common_gpu__memory__buffer__support.h | 10 +-
.../files/patch-gpu_ipc_service_gpu__init.cc | 32 +-
.../patch-gpu_ipc_service_gpu__watchdog__thread.h | 6 +-
.../files/patch-gpu_vulkan_generate__bindings.py | 29 +
.../patch-gpu_vulkan_vulkan__function__pointers.h | 6 +-
www/chromium/files/patch-headless_BUILD.gn | 10 +-
...ss_lib_browser_headless__browser__main__parts.h | 6 +-
...b_browser_headless__content__browser__client.cc | 4 +-
...adless_lib_headless__content__main__delegate.cc | 13 +-
.../files/patch-ipc_ipc__message__utils.cc | 4 +-
www/chromium/files/patch-ipc_ipc__message__utils.h | 4 +-
.../patch-media_audio_audio__input__device.cc | 4 +-
.../files/patch-media_base_media__switches.cc | 22 +-
.../files/patch-media_base_media__switches.h | 16 +-
.../files/patch-media_base_video__frame.cc | 12 +-
www/chromium/files/patch-media_base_video__frame.h | 4 +-
..._capture_video_linux_v4l2__capture__delegate.cc | 4 +-
www/chromium/files/patch-media_media__options.gni | 4 +-
...ojo_clients_mojo__video__encode__accelerator.cc | 11 -
...media_mojo_mojom_video__frame__mojom__traits.cc | 20 +-
...ideo_gpu__memory__buffer__video__frame__pool.cc | 4 +-
...ia_video_video__encode__accelerator__adapter.cc | 6 +-
...eo_video__encode__accelerator__adapter__test.cc | 4 +-
...ch-mojo_public_js_mojo__bindings__resources.grd | 4 +-
www/chromium/files/patch-net_BUILD.gn | 10 +-
www/chromium/files/patch-net_dns_BUILD.gn | 11 +
.../patch-net_nqe_network__quality__estimator.cc | 4 +-
...et_nqe_network__quality__estimator__unittest.cc | 4 +-
...ution_configured__proxy__resolution__service.cc | 8 +-
...xy__resolution_proxy__config__service__linux.cc | 8 +-
.../files/patch-net_socket_socket__posix.cc | 4 +-
.../files/patch-net_socket_tcp__socket__posix.cc | 4 +-
.../files/patch-net_socket_udp__socket__posix.cc | 10 +-
...t_socket_unix__domain__client__socket__posix.cc | 4 +-
..._url__request_url__request__context__builder.cc | 6 +-
.../files/patch-pdf_pdfium_pdfium__engine.cc | 10 +-
.../files/patch-ppapi_proxy_file__io__resource.cc | 8 +-
www/chromium/files/patch-printing_BUILD.gn | 20 +
.../files/patch-printing_backend_cups__helper.cc | 38 +
.../files/patch-printing_print__settings.h | 10 +-
...atch-remoting_host_chromoting__host__context.cc | 16 +
.../files/patch-remoting_host_host__attributes.cc | 4 +-
...t_it2me_it2me__native__messaging__host__main.cc | 61 +-
...ch-remoting_host_me2me__desktop__environment.cc | 4 +-
.../patch-remoting_host_remoting__me2me__host.cc | 45 +-
.../patch-remoting_resources_remoting__strings.grd | 6 +-
.../patch-remoting_test_it2me__standalone__host.cc | 4 +-
www/chromium/files/patch-sandbox_policy_BUILD.gn | 18 +-
www/chromium/files/patch-sandbox_policy_sandbox.cc | 35 +
www/chromium/files/patch-sandbox_policy_sandbox.h | 24 +
.../files/patch-sandbox_policy_switches.cc | 4 +-
www/chromium/files/patch-sandbox_policy_switches.h | 4 +-
www/chromium/files/patch-services_audio_BUILD.gn | 4 +-
.../patch-services_device_hid_hid__service.cc | 4 +-
...ch-services_device_hid_hid__service__freebsd.cc | 5 +-
www/chromium/files/patch-services_network_BUILD.gn | 31 +-
.../patch-services_network_network__context.cc | 11 +
...rvices_network_network__sandbox__hook__linux.cc | 10 +-
.../patch-services_network_network__service.cc | 6 +-
.../patch-services_network_network__service.h | 4 +-
..._executable_service__executable__environment.cc | 16 +
...tracing_public_cpp_perfetto_perfetto__config.cc | 11 +
...ices_tracing_public_cpp_perfetto_trace__time.cc | 14 +-
...vices_tracing_public_cpp_perfetto_trace__time.h | 11 +
...p_stack__sampling_tracing__sampler__profiler.cc | 4 +-
.../files/patch-third__party_angle_BUILD.gn | 6 +-
...y_angle_src_libANGLE_renderer_driver__utils.cpp | 10 +-
...rty_angle_src_libANGLE_renderer_driver__utils.h | 4 +-
...n_renderer__preferences_renderer__preferences.h | 4 +-
...ferences_renderer__preferences__mojom__traits.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 | 16 +-
...nderer_core_html_forms_internal__popup__menu.cc | 4 +-
...arty_blink_renderer_core_layout_layout__view.cc | 6 +-
..._mediastream_processed__local__audio__source.cc | 4 +-
...peerconnection_webrtc__audio__renderer__test.cc | 4 +-
...odules_webgl_webgl__rendering__context__base.cc | 20 +-
...ty_blink_renderer_platform_fonts_font__cache.cc | 6 +-
...rty_blink_renderer_platform_fonts_font__cache.h | 10 +-
...nk_renderer_platform_fonts_font__description.cc | 4 +-
...latform_fonts_shaping_harfbuzz__shaper__test.cc | 4 +-
...nderer_platform_fonts_skia_font__cache__skia.cc | 8 +-
...er_platform_graphics_video__frame__submitter.cc | 4 +-
...ird__party_boringssl_src_crypto_refcount__c11.c | 13 +
.../patch-third__party_dawn_src_common_Platform.h | 14 +
...y_dawn_src_include_dawn__native_VulkanBackend.h | 11 +
...d__party_googletest_src_googletest_src_gtest.cc | 4 +-
.../patch-third__party_libyuv_include_libyuv_row.h | 6 +-
www/chromium/files/patch-third__party_node_node.py | 6 +-
...fium_xfa_fxfa_parser_cxfa__timezoneprovider.cpp | 44 +-
...etto_src_tracing_core_tracing__service__impl.cc | 4 +-
.../patch-third__party_skia_src_sksl_SkSLString.h | 11 -
..._vulkan__memory__allocator_src_vk__mem__alloc.h | 11 +
.../files/patch-third__party_webrtc_BUILD.gn | 4 +-
.../patch-third__party_webrtc_rtc__base_network.cc | 4 +-
.../files/patch-third__party_zlib_BUILD.gn | 8 +-
.../patch-tools_json__schema__compiler_model.py | 6 +-
.../files/patch-ui_aura_test_aura__test__helper.cc | 4 +-
.../patch-ui_aura_test_ui__controls__ozone.cc | 4 +-
.../patch-ui_base_clipboard_clipboard__ozone.cc | 11 -
.../files/patch-ui_base_cursor_cursor__factory.cc | 10 +-
.../files/patch-ui_base_cursor_cursor__factory.h | 6 +-
...ui_base_dragdrop_os__exchange__data__provider.h | 11 -
...op_os__exchange__data__provider__non__backed.cc | 15 +-
...rop_os__exchange__data__provider__non__backed.h | 11 -
.../files/patch-ui_base_ui__base__features.cc | 33 +-
.../files/patch-ui_base_ui__base__features.h | 4 +-
.../files/patch-ui_compositor_compositor.cc | 4 +-
www/chromium/files/patch-ui_events_event.cc | 4 +-
www/chromium/files/patch-ui_gfx_BUILD.gn | 4 +-
...ch-ui_gfx_mojom_buffer__types__mojom__traits.cc | 4 +-
www/chromium/files/patch-ui_gfx_render__text.cc | 6 +-
.../patch-ui_gtk_printing_print__dialog__gtk.cc | 4 +-
.../files/patch-ui_native__theme_native__theme.h | 4 +-
.../patch-ui_native__theme_native__theme__base.cc | 4 +-
.../patch-ui_views_controls_textfield_textfield.cc | 12 +-
.../files/patch-ui_views_corewm_tooltip__aura.cc | 4 +-
.../files/patch-ui_views_focus_focus__manager.cc | 6 +-
.../files/patch-ui_views_views__delegate.h | 4 +-
...__aura_desktop__window__tree__host__platform.cc | 4 +-
.../patch-ui_views_widget_native__widget__aura.cc | 11 +-
www/chromium/files/patch-v8_BUILD.gn | 6 +-
www/chromium/files/patch-v8_src_api_api.cc | 4 +-
www/chromium/files/patch-v8_src_base_cpu.cc | 6 +-
www/chromium/files/patch-v8_src_d8_d8.cc | 6 +-
.../files/patch-v8_src_diagnostics_perf-jit.cc | 11 +
.../files/patch-v8_src_diagnostics_perf-jit.h | 11 +
www/chromium/files/patch-weblayer_BUILD.gn | 4 +-
...h-weblayer_app_content__main__delegate__impl.cc | 4 +-
...-weblayer_browser_browser__main__parts__impl.cc | 6 +-
...layer_browser_content__browser__client__impl.cc | 10 +-
www/chromium/files/sandbox_freebsd.cc | 84 +
www/chromium/files/sandbox_freebsd.h | 45 +
www/chromium/pkg-plist | 2479 +-------------------
380 files changed, 2278 insertions(+), 4000 deletions(-)
diff --git a/www/chromium/Makefile b/www/chromium/Makefile
index d623cdc57569..80b981b2feed 100644
--- a/www/chromium/Makefile
+++ b/www/chromium/Makefile
@@ -1,8 +1,7 @@
# Created by: Florent Thoumie <flz at FreeBSD.org>
PORTNAME= chromium
-PORTVERSION= 90.0.4430.212
-PORTREVISION= 1
+PORTVERSION= 91.0.4472.101
CATEGORIES= www java
MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \
LOCAL/rene/chromium/:fonts
@@ -72,7 +71,8 @@ USES= bison compiler:c++17-lang cpe desktop-file-utils dos2unix gl gnome jpeg l
CPE_VENDOR= google
CPE_PRODUCT= chrome
-DOS2UNIX_FILES= third_party/skia/third_party/vulkanmemoryallocator/include/vk_mem_alloc.h
+DOS2UNIX_FILES= third_party/skia/third_party/vulkanmemoryallocator/include/vk_mem_alloc.h \
+ third_party/vulkan_memory_allocator/src/vk_mem_alloc.h
USE_GL= gbm gl
USE_GNOME= atk dconf glib20 gtk30 libxml2 libxslt
INSTALLS_ICONS= yes
@@ -96,11 +96,13 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-clang
# OS "target_os == is_bsd", like libusb, libpci.
GN_ARGS+= clang_use_chrome_plugins=false \
enable_hangout_services_extension=true \
+ enable_js_type_check=false \
enable_nacl=false \
enable_one_click_signin=true \
enable_remoting=false \
fieldtrial_testing_like_official_build=true \
is_clang=true \
+ optimize_webui=false \
toolkit_views=true \
treat_warnings_as_errors=false \
use_allocator="none" \
@@ -219,11 +221,6 @@ PLIST_SUB+= NOT_AARCH64="@comment "
PLIST_SUB+= NOT_AARCH64=""
.endif
-# Make better javascript with java
-JAVA_BUILD= yes
-JAVA_VERSION= 1.8
-USE_JAVA= yes
-
# Allow relocations against read-only segments (override lld default)
LDFLAGS_i386= -Wl,-znotext
@@ -243,9 +240,12 @@ post-extract-TEST-on:
@${MV} ${WRKDIR}/test_fonts ${WRKSRC}/third_party/test_fonts/
post-patch:
+ @${MKDIR} ${WRKSRC}/sandbox/policy/freebsd
@${CP} ${FILESDIR}/dir_reader_freebsd.h ${WRKSRC}/base/files
@${CP} ${FILESDIR}/device_info_fetcher_freebsd.h ${WRKSRC}/chrome/browser/enterprise/signals
@${CP} ${FILESDIR}/device_info_fetcher_freebsd.cc ${WRKSRC}/chrome/browser/enterprise/signals
+ @${CP} ${FILESDIR}/sandbox_freebsd.h ${WRKSRC}/sandbox/policy/freebsd
+ @${CP} ${FILESDIR}/sandbox_freebsd.cc ${WRKSRC}/sandbox/policy/freebsd
post-patch-SNDIO-on:
@${MKDIR} ${WRKSRC}/media/audio/sndio ${WRKSRC}/media/audio/openbsd
@@ -282,12 +282,6 @@ do-configure:
@${MKDIR} ${WRKSRC}/third_party/node/freebsd/node-freebsd-x64/bin
${LN} -sf ${LOCALBASE}/bin/node ${WRKSRC}/third_party/node/freebsd/node-freebsd-x64/bin/node
- # Setup java dependency on amd64 and i386
-.if ${ARCH} == amd64 || ${ARCH} == i386
- @${MKDIR} ${WRKDIR}/bin
- ${LN} -sf ${LOCALBASE}/openjdk8/bin/java ${WRKDIR}/bin/java
-.endif
-
# Setup buildtools/freebsd
@${MKDIR} ${WRKSRC}/buildtools/freebsd
${LN} -sf ${WRKSRC}/buildtools/linux64/clang-format ${WRKSRC}/buildtools/freebsd
diff --git a/www/chromium/distinfo b/www/chromium/distinfo
index 8be9f1212a33..5a0fe5716fa8 100644
--- a/www/chromium/distinfo
+++ b/www/chromium/distinfo
@@ -1,3 +1,7 @@
-TIMESTAMP = 1620717235
-SHA256 (chromium-90.0.4430.212.tar.xz) = abe11d0cb1ff21278aad2eec1a1e279d59176b15331804d7df1807446786d59e
-SIZE (chromium-90.0.4430.212.tar.xz) = 917430448
+TIMESTAMP = 1623320688
+SHA256 (chromium-91.0.4472.101.tar.xz) = 78146192aaae7771d9130c2828e1081d940da32af3aadcb73578521683307eb4
+SIZE (chromium-91.0.4472.101.tar.xz) = 950228560
+SHA256 (chromium-91.0.4472.101-testdata.tar.xz) = cd590860745d352c2de3737e188ab6dbd0c7ee179e34275c2b8fad03861266e8
+SIZE (chromium-91.0.4472.101-testdata.tar.xz) = 256763876
+SHA256 (test_fonts-85.tar.xz) = f22b61b3639acb147c98ec2e2305d8b96f0b55c8c74c40e2ea696402fae8cef9
+SIZE (test_fonts-85.tar.xz) = 9511984
diff --git a/www/chromium/files/extra-patch-build_config_compiler_pgo_pgo.gni b/www/chromium/files/extra-patch-build_config_compiler_pgo_pgo.gni
index 158b7269d92f..6e19cd7c7da5 100644
--- a/www/chromium/files/extra-patch-build_config_compiler_pgo_pgo.gni
+++ b/www/chromium/files/extra-patch-build_config_compiler_pgo_pgo.gni
@@ -1,4 +1,4 @@
---- build/config/compiler/pgo/pgo.gni.orig 2021-04-20 18:58:23 UTC
+--- build/config/compiler/pgo/pgo.gni.orig 2021-06-09 22:13:52 UTC
+++ build/config/compiler/pgo/pgo.gni
@@ -16,7 +16,7 @@ declare_args() {
# TODO(crbug.com/1052397): Remove chromeos_is_browser_only once
diff --git a/www/chromium/files/patch-3p-pdfium_3p_base_allocator_partition__allocator_page__allocator__internals__posix.h b/www/chromium/files/patch-3p-pdfium_3p_base_allocator_partition__allocator_page__allocator__internals__posix.h
index 9a2964553490..d13e0e3e592a 100644
--- a/www/chromium/files/patch-3p-pdfium_3p_base_allocator_partition__allocator_page__allocator__internals__posix.h
+++ b/www/chromium/files/patch-3p-pdfium_3p_base_allocator_partition__allocator_page__allocator__internals__posix.h
@@ -1,4 +1,4 @@
---- third_party/pdfium/third_party/base/allocator/partition_allocator/page_allocator_internals_posix.h.orig 2021-04-20 19:05:14 UTC
+--- third_party/pdfium/third_party/base/allocator/partition_allocator/page_allocator_internals_posix.h.orig 2021-06-09 22:16:18 UTC
+++ third_party/pdfium/third_party/base/allocator/partition_allocator/page_allocator_internals_posix.h
@@ -16,7 +16,7 @@
#if defined(OS_ANDROID)
diff --git a/www/chromium/files/patch-BUILD.gn b/www/chromium/files/patch-BUILD.gn
index d1b7c835627e..4a38e2e73dcf 100644
--- a/www/chromium/files/patch-BUILD.gn
+++ b/www/chromium/files/patch-BUILD.gn
@@ -1,6 +1,6 @@
---- BUILD.gn.orig 2021-04-14 18:40:47 UTC
+--- BUILD.gn.orig 2021-05-12 22:05:39 UTC
+++ BUILD.gn
-@@ -425,7 +425,7 @@ group("gn_all") {
+@@ -429,7 +429,7 @@ group("gn_all") {
]
}
@@ -9,7 +9,7 @@
deps += [
"//third_party/breakpad:breakpad_unittests",
"//third_party/breakpad:core-2-minidump",
-@@ -468,8 +468,6 @@ group("gn_all") {
+@@ -474,8 +474,6 @@ group("gn_all") {
"//net:disk_cache_memory_test",
"//net:quic_client",
"//net:quic_server",
@@ -18,7 +18,7 @@
"//testing:empty_main",
]
-@@ -524,10 +522,6 @@ group("gn_all") {
+@@ -530,10 +528,6 @@ group("gn_all") {
"//chrome/test:load_library_perf_tests",
"//chrome/test:sync_performance_tests",
"//chrome/test/chromedriver:chromedriver",
@@ -29,7 +29,7 @@
"//media/cast:generate_barcode_video",
"//media/cast:generate_timecode_audio",
"//net:crash_cache",
-@@ -586,10 +580,6 @@ group("gn_all") {
+@@ -592,10 +586,6 @@ group("gn_all") {
"//mojo:mojo_perftests",
"//services/service_manager/public/cpp",
"//testing/gmock:gmock_main",
@@ -40,7 +40,7 @@
]
if (!is_android) {
-@@ -667,7 +657,7 @@ group("gn_all") {
+@@ -673,7 +663,7 @@ group("gn_all") {
host_os == "win") {
deps += [ "//chrome/test/mini_installer:mini_installer_tests" ]
}
@@ -49,7 +49,7 @@
deps += [ "//third_party/breakpad:symupload($host_toolchain)" ]
}
-@@ -682,7 +672,7 @@ group("gn_all") {
+@@ -688,7 +678,7 @@ group("gn_all") {
}
}
@@ -58,7 +58,7 @@
deps += [
"//third_party/crashpad/crashpad:crashpad_tests",
"//third_party/crashpad/crashpad/handler:crashpad_handler",
-@@ -793,7 +783,6 @@ group("gn_all") {
+@@ -803,7 +793,6 @@ group("gn_all") {
"//chrome/browser/vr:vr_common_perftests",
"//chrome/browser/vr:vr_common_unittests",
"//chrome/browser/vr:vr_pixeltests",
@@ -66,7 +66,7 @@
]
if (is_android) {
deps += [ "//chrome/browser/android/vr:vr_android_unittests" ]
-@@ -1086,7 +1075,7 @@ if (!is_ios) {
+@@ -1102,7 +1091,7 @@ if (!is_ios) {
data_deps += [ "//content/web_test:web_test_common_mojom_js_data_deps" ]
}
@@ -75,7 +75,7 @@
data_deps +=
[ "//third_party/breakpad:minidump_stackwalk($host_toolchain)" ]
}
-@@ -1095,7 +1084,7 @@ if (!is_ios) {
+@@ -1111,7 +1100,7 @@ if (!is_ios) {
data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ]
}
@@ -84,7 +84,7 @@
data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ]
}
-@@ -1321,9 +1310,6 @@ group("chromium_builder_perf") {
+@@ -1355,9 +1344,6 @@ group("chromium_builder_perf") {
if (is_win) {
data_deps += [ "//chrome/installer/mini_installer:mini_installer" ]
diff --git a/www/chromium/files/patch-base_BUILD.gn b/www/chromium/files/patch-base_BUILD.gn
index edc279a61b6b..f18542dec520 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 2021-04-14 18:40:48 UTC
+--- base/BUILD.gn.orig 2021-05-24 22:05:31 UTC
+++ base/BUILD.gn
-@@ -948,7 +948,7 @@ component("base") {
+@@ -963,7 +963,7 @@ component("base") {
"timer/hi_res_timer_manager_posix.cc",
]
@@ -9,7 +9,7 @@
sources += [
"cpu_affinity_posix.cc",
"cpu_affinity_posix.h",
-@@ -959,6 +959,11 @@ component("base") {
+@@ -974,6 +974,11 @@ component("base") {
"profiler/thread_delegate_posix.h",
]
}
@@ -21,7 +21,7 @@
}
if (is_win) {
-@@ -1364,7 +1369,7 @@ component("base") {
+@@ -1377,7 +1382,7 @@ component("base") {
# building inside the cros_sdk environment - use host_toolchain as a
# more robust check for this.
if (!use_sysroot &&
@@ -30,7 +30,7 @@
host_toolchain != "//build/toolchain/cros:host") {
libs += [ "atomic" ]
}
-@@ -1414,7 +1419,7 @@ component("base") {
+@@ -1430,7 +1435,7 @@ component("base") {
"allocator/allocator_shim_default_dispatch_to_mac_zoned_malloc.cc",
]
}
@@ -39,7 +39,7 @@
sources += [ "allocator/allocator_shim_default_dispatch_to_glibc.cc" ]
}
if (is_win) {
-@@ -2045,6 +2050,34 @@ component("base") {
+@@ -2064,6 +2069,34 @@ component("base") {
}
}
@@ -74,7 +74,7 @@
# iOS
if (is_ios) {
sources -= [
-@@ -3231,7 +3264,7 @@ if (build_base_unittests) {
+@@ -3273,7 +3306,7 @@ if (build_base_unittests) {
}
}
@@ -83,7 +83,7 @@
sources += [ "debug/proc_maps_linux_unittest.cc" ]
}
-@@ -3272,7 +3305,7 @@ if (build_base_unittests) {
+@@ -3313,7 +3346,7 @@ if (build_base_unittests) {
"posix/unix_domain_socket_unittest.cc",
"task/thread_pool/task_tracker_posix_unittest.cc",
]
diff --git a/www/chromium/files/patch-base_allocator_allocator.gni b/www/chromium/files/patch-base_allocator_allocator.gni
index f3f2ae41d6a1..460eda24c41a 100644
--- a/www/chromium/files/patch-base_allocator_allocator.gni
+++ b/www/chromium/files/patch-base_allocator_allocator.gni
@@ -1,6 +1,6 @@
---- base/allocator/allocator.gni.orig 2021-04-14 18:40:48 UTC
+--- base/allocator/allocator.gni.orig 2021-05-24 22:05:31 UTC
+++ base/allocator/allocator.gni
-@@ -60,7 +60,7 @@ declare_args() {
+@@ -63,7 +63,7 @@ declare_args() {
# not, and redesign or remove the flag accordingly. We may want to assert a
# possible conflict between |use_allocator = "partition"| and
# |use_partition_alloc = true| rather than prioritizing use_partition_alloc.
diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__config.h b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__config.h
new file mode 100644
index 000000000000..20ff541d2e02
--- /dev/null
+++ b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__config.h
@@ -0,0 +1,17 @@
+--- base/allocator/partition_allocator/partition_alloc_config.h.orig 2021-05-18 13:58:13 UTC
++++ base/allocator/partition_allocator/partition_alloc_config.h
+@@ -34,9 +34,13 @@ static_assert(sizeof(void*) != 8, "");
+ #define PA_HAS_LINUX_KERNEL
+ #endif
+
++#if defined(OS_FREEBSD)
++#define PA_HAS_FREEBSD_KERNEL
++#endif
++
+ // SpinningMutex uses either futex(2) on Linux, or a fast userspace "try"
+ // operation, which is available on Windows.
+-#if defined(PA_HAS_LINUX_KERNEL) || defined(OS_WIN)
++#if defined(PA_HAS_LINUX_KERNEL) || defined(PA_HAS_FREEBSD_KERNEL) || defined(OS_WIN)
+ #define PA_HAS_SPINNING_MUTEX
+ #endif
+
diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__unittest.cc b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__unittest.cc
index 45fa7177cd36..8f6488a80bd6 100644
--- a/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__unittest.cc
+++ b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__unittest.cc
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/partition_alloc_unittest.cc.orig 2021-04-14 18:40:48 UTC
+--- base/allocator/partition_allocator/partition_alloc_unittest.cc.orig 2021-05-12 22:05:40 UTC
+++ base/allocator/partition_allocator/partition_alloc_unittest.cc
-@@ -1644,7 +1644,7 @@ TEST_F(PartitionAllocTest, LostFreeSlotSpansBug) {
+@@ -1659,7 +1659,7 @@ TEST_F(PartitionAllocTest, LostFreeSlotSpansBug) {
// cause flake.
#if !defined(OS_WIN) && \
(!defined(ARCH_CPU_64_BITS) || \
@@ -9,7 +9,7 @@
// The following four tests wrap a called function in an expect death statement
// to perform their test, because they are non-hermetic. Specifically they are
-@@ -1695,7 +1695,7 @@ TEST_F(PartitionAllocDeathTest, DISABLED_RepeatedTryRe
+@@ -1710,7 +1710,7 @@ TEST_F(PartitionAllocDeathTest, DISABLED_RepeatedTryRe
}
#endif // !defined(ARCH_CPU_64_BITS) || (defined(OS_POSIX) &&
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 5c97ae660a7b..147faa94e4b7 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,6 +1,6 @@
---- base/allocator/partition_allocator/partition_root.cc.orig 2021-04-15 11:28:02 UTC
+--- base/allocator/partition_allocator/partition_root.cc.orig 2021-05-12 22:05:40 UTC
+++ base/allocator/partition_allocator/partition_root.cc
-@@ -20,7 +20,7 @@
+@@ -22,7 +22,7 @@
#include "wow64apiset.h"
#endif
@@ -9,7 +9,7 @@
#include <pthread.h>
#endif
-@@ -34,7 +34,7 @@ namespace {
+@@ -36,7 +36,7 @@ namespace {
#if BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC)
@@ -18,7 +18,7 @@
// NO_THREAD_SAFETY_ANALYSIS: acquires the lock and doesn't release it, by
// design.
-@@ -87,7 +87,7 @@ void AfterForkInChild() {
+@@ -89,7 +89,7 @@ void AfterForkInChild() {
internal::ThreadCacheRegistry::Instance()
.ForcePurgeAllThreadAfterForkUnsafe();
}
@@ -27,7 +27,7 @@
std::atomic<bool> g_global_init_called;
void PartitionAllocMallocInitOnce() {
-@@ -97,7 +97,7 @@ void PartitionAllocMallocInitOnce() {
+@@ -99,7 +99,7 @@ void PartitionAllocMallocInitOnce() {
if (!g_global_init_called.compare_exchange_strong(expected, true))
return;
@@ -36,7 +36,7 @@
// When fork() is called, only the current thread continues to execute in the
// child process. If the lock is held, but *not* by this thread when fork() is
// called, we have a deadlock.
-@@ -122,7 +122,7 @@ void PartitionAllocMallocInitOnce() {
+@@ -124,7 +124,7 @@ void PartitionAllocMallocInitOnce() {
int err =
pthread_atfork(BeforeForkInParent, AfterForkInParent, AfterForkInChild);
PA_CHECK(err == 0);
diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_spinning__mutex.h b/www/chromium/files/patch-base_allocator_partition__allocator_spinning__mutex.h
index e40dd3c13a0e..c33dc5dc8adc 100644
--- a/www/chromium/files/patch-base_allocator_partition__allocator_spinning__mutex.h
+++ b/www/chromium/files/patch-base_allocator_partition__allocator_spinning__mutex.h
@@ -1,19 +1,6 @@
---- base/allocator/partition_allocator/spinning_mutex.h.orig 2021-04-14 18:40:48 UTC
+--- base/allocator/partition_allocator/spinning_mutex.h.orig 2021-05-12 22:05:40 UTC
+++ base/allocator/partition_allocator/spinning_mutex.h
-@@ -22,7 +22,11 @@
- #define PA_HAS_LINUX_KERNEL
- #endif
-
--#if defined(PA_HAS_LINUX_KERNEL) || defined(OS_WIN)
-+#if defined(OS_FREEBSD)
-+#define PA_HAS_FREEBSD_KERNEL
-+#endif
-+
-+#if defined(PA_HAS_LINUX_KERNEL) || defined(PA_HAS_FREEBSD_KERNEL) || defined(OS_WIN)
- #define PA_HAS_SPINNING_MUTEX
- #endif
-
-@@ -66,7 +70,7 @@ class LOCKABLE BASE_EXPORT SpinningMutex {
+@@ -59,7 +59,7 @@ class LOCKABLE BASE_EXPORT SpinningMutex {
// as the slow path has better characteristics than SpinLocks's.
static constexpr int kSpinCount = 1000;
@@ -22,7 +9,7 @@
void FutexWait();
void FutexWake();
-@@ -111,7 +115,7 @@ ALWAYS_INLINE void SpinningMutex::Acquire() {
+@@ -104,7 +104,7 @@ ALWAYS_INLINE void SpinningMutex::Acquire() {
inline constexpr SpinningMutex::SpinningMutex() = default;
@@ -30,4 +17,4 @@
+#if defined(PA_HAS_LINUX_KERNEL) || defined(PA_HAS_FREEBSD_KERNEL)
ALWAYS_INLINE bool SpinningMutex::Try() {
- int expected = kUnlocked;
+ // Using the weak variant of compare_exchange(), which may fail spuriously. On
diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_starscan_pcscan.cc b/www/chromium/files/patch-base_allocator_partition__allocator_starscan_pcscan.cc
new file mode 100644
index 000000000000..fb0af07cb8d8
--- /dev/null
+++ b/www/chromium/files/patch-base_allocator_partition__allocator_starscan_pcscan.cc
@@ -0,0 +1,11 @@
+--- base/allocator/partition_allocator/starscan/pcscan.cc.orig 2021-05-25 11:07:18 UTC
++++ base/allocator/partition_allocator/starscan/pcscan.cc
+@@ -67,7 +67,7 @@ namespace internal {
+
+ namespace {
+
+-#if DCHECK_IS_ON() && defined(OS_LINUX)
++#if DCHECK_IS_ON() && (defined(OS_LINUX) || defined(OS_BSD))
+ // Currently, check reentracy only on Linux. On Android TLS is emulated by the
+ // runtime lib, which can allocate and therefore cause reentrancy.
+ struct ReentrantScannerGuard final {
diff --git a/www/chromium/files/patch-base_base__switches.cc b/www/chromium/files/patch-base_base__switches.cc
index 5b612f9cd666..c7fd2e4d641b 100644
--- a/www/chromium/files/patch-base_base__switches.cc
+++ b/www/chromium/files/patch-base_base__switches.cc
@@ -1,6 +1,6 @@
---- base/base_switches.cc.orig 2021-04-14 18:40:48 UTC
+--- base/base_switches.cc.orig 2021-05-12 22:05:40 UTC
+++ base/base_switches.cc
-@@ -120,8 +120,8 @@ const char kDisableUsbKeyboardDetect[] = "disable
+@@ -125,8 +125,8 @@ const char kDisableUsbKeyboardDetect[] = "disable
// TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
@@ -11,7 +11,7 @@
// The /dev/shm partition is too small in certain VM environments, causing
// Chrome to fail or crash (see http://crbug.com/715363). Use this flag to
// work-around this issue (a temporary directory will always be used to create
-@@ -156,7 +156,7 @@ const char kForceFieldTrialParams[] = "force-fieldtria
+@@ -161,7 +161,7 @@ const char kForceFieldTrialParams[] = "force-fieldtria
#endif
diff --git a/www/chromium/files/patch-base_base__switches.h b/www/chromium/files/patch-base_base__switches.h
index 106fbd5599dc..f878cbc00f2d 100644
--- a/www/chromium/files/patch-base_base__switches.h
+++ b/www/chromium/files/patch-base_base__switches.h
@@ -1,6 +1,6 @@
---- base/base_switches.h.orig 2021-04-14 18:40:48 UTC
+--- base/base_switches.h.orig 2021-05-12 22:05:40 UTC
+++ base/base_switches.h
-@@ -41,8 +41,8 @@ extern const char kDisableUsbKeyboardDetect[];
+@@ -42,8 +42,8 @@ extern const char kDisableUsbKeyboardDetect[];
// TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
@@ -11,7 +11,7 @@
extern const char kDisableDevShmUsage[];
#endif
-@@ -58,7 +58,7 @@ extern const char kEnableIdleTracing[];
+@@ -59,7 +59,7 @@ extern const char kEnableIdleTracing[];
extern const char kForceFieldTrialParams[];
#endif
diff --git a/www/chromium/files/patch-base_bind.h b/www/chromium/files/patch-base_bind.h
deleted file mode 100644
index f2715eccde4d..000000000000
--- a/www/chromium/files/patch-base_bind.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- base/bind.h.orig 2021-04-15 11:29:10 UTC
-+++ base/bind.h
-@@ -313,7 +313,7 @@ inline OnceCallback<MakeUnboundRunType<Functor, Args..
- !std::is_const<std::remove_reference_t<Functor>>()),
- "BindOnce requires non-const rvalue for OnceCallback binding."
- " I.e.: base::BindOnce(std::move(callback)).");
--#if defined(OS_LINUX) || defined(OS_WIN) || \
-+#if defined(OS_LINUX) || defined(OS_WIN) || defined(OS_BSD) || \
- defined(NCTEST_BIND_ONCE_WITH_PASSED)
- // TODO(https://crbug.com/1180750): Enable this everywhere.
- static_assert(
diff --git a/www/chromium/files/patch-base_files_file__path__unittest.cc b/www/chromium/files/patch-base_files_file__path__unittest.cc
index f638d3146191..c885c484f31d 100644
--- a/www/chromium/files/patch-base_files_file__path__unittest.cc
+++ b/www/chromium/files/patch-base_files_file__path__unittest.cc
@@ -1,6 +1,6 @@
---- base/files/file_path_unittest.cc.orig 2021-04-14 18:40:48 UTC
+--- base/files/file_path_unittest.cc.orig 2021-05-12 22:05:40 UTC
+++ base/files/file_path_unittest.cc
-@@ -1149,7 +1149,7 @@ TEST_F(FilePathTest, FromUTF8Unsafe_And_AsUTF8Unsafe)
+@@ -1179,7 +1179,7 @@ TEST_F(FilePathTest, FromUTF8Unsafe_And_AsUTF8Unsafe)
"\xEF\xBC\xA1\xEF\xBC\xA2\xEF\xBC\xA3.txt" },
};
diff --git a/www/chromium/files/patch-base_files_file__path__watcher__unittest.cc b/www/chromium/files/patch-base_files_file__path__watcher__unittest.cc
index a19163383934..71d6ea460ea5 100644
--- a/www/chromium/files/patch-base_files_file__path__watcher__unittest.cc
+++ b/www/chromium/files/patch-base_files_file__path__watcher__unittest.cc
@@ -1,6 +1,6 @@
---- base/files/file_path_watcher_unittest.cc.orig 2021-04-14 18:40:48 UTC
+--- base/files/file_path_watcher_unittest.cc.orig 2021-05-12 22:05:40 UTC
+++ base/files/file_path_watcher_unittest.cc
-@@ -444,12 +444,12 @@ TEST_F(FilePathWatcherTest, WatchDirectory) {
+@@ -452,12 +452,12 @@ TEST_F(FilePathWatcherTest, WatchDirectory) {
VLOG(1) << "Waiting for file1 creation";
ASSERT_TRUE(WaitForEvents());
@@ -15,8 +15,8 @@
ASSERT_TRUE(base::DeleteFile(file1));
VLOG(1) << "Waiting for file1 deletion";
-@@ -822,7 +822,7 @@ TEST_F(FilePathWatcherTest, LinkedDirectoryPart3) {
- ASSERT_TRUE(WaitForEvents());
+@@ -1034,7 +1034,7 @@ TEST_F(FilePathWatcherTest, InotifyLimitInUpdateRecurs
+ }
}
-#endif // defined(OS_LINUX) || defined(OS_CHROMEOS)
@@ -24,7 +24,7 @@
enum Permission {
Read,
-@@ -830,7 +830,7 @@ enum Permission {
+@@ -1042,7 +1042,7 @@ enum Permission {
Execute
};
@@ -33,7 +33,7 @@
bool ChangeFilePermissions(const FilePath& path, Permission perm, bool allow) {
struct stat stat_buf;
-@@ -859,9 +859,9 @@ bool ChangeFilePermissions(const FilePath& path, Permi
+@@ -1071,9 +1071,9 @@ bool ChangeFilePermissions(const FilePath& path, Permi
}
return chmod(path.value().c_str(), stat_buf.st_mode) == 0;
}
@@ -45,7 +45,7 @@
// Linux implementation of FilePathWatcher doesn't catch attribute changes.
// http://crbug.com/78043
// Windows implementation of FilePathWatcher catches attribute changes that
-@@ -897,7 +897,7 @@ TEST_F(FilePathWatcherTest, DirAttributesChanged) {
+@@ -1109,7 +1109,7 @@ TEST_F(FilePathWatcherTest, DirAttributesChanged) {
ASSERT_TRUE(ChangeFilePermissions(test_dir1, Execute, true));
}
diff --git a/www/chromium/files/patch-base_files_file__util.h b/www/chromium/files/patch-base_files_file__util.h
index 7c1f77514e28..40aae8f579de 100644
--- a/www/chromium/files/patch-base_files_file__util.h
+++ b/www/chromium/files/patch-base_files_file__util.h
@@ -1,6 +1,6 @@
---- base/files/file_util.h.orig 2021-04-14 18:40:48 UTC
+--- base/files/file_util.h.orig 2021-05-12 22:05:40 UTC
+++ base/files/file_util.h
-@@ -284,14 +284,14 @@ BASE_EXPORT bool SetPosixFilePermissions(const FilePat
+@@ -283,14 +283,14 @@ BASE_EXPORT bool SetPosixFilePermissions(const FilePat
BASE_EXPORT bool ExecutableExistsInPath(Environment* env,
const FilePath::StringType& executable);
@@ -17,7 +17,7 @@
#endif // OS_POSIX
-@@ -603,7 +603,7 @@ BASE_EXPORT bool VerifyPathControlledByAdmin(const bas
+@@ -602,7 +602,7 @@ BASE_EXPORT bool VerifyPathControlledByAdmin(const bas
// the directory |path|, in the number of FilePath::CharType, or -1 on failure.
BASE_EXPORT int GetMaximumPathComponentLength(const base::FilePath& path);
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 b6fc1193f750..ca0e4d4a8e28 100644
--- a/www/chromium/files/patch-base_files_file__util__posix.cc
+++ b/www/chromium/files/patch-base_files_file__util__posix.cc
@@ -1,6 +1,6 @@
---- base/files/file_util_posix.cc.orig 2021-04-14 18:40:48 UTC
+--- base/files/file_util_posix.cc.orig 2021-05-12 22:05:40 UTC
*** 12019 LINES SKIPPED ***
More information about the dev-commits-ports-all
mailing list