From nobody Wed Aug 3 14:54:01 2022 X-Original-To: dev-commits-ports-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4LyZcn4jcdz4Xr98; Wed, 3 Aug 2022 14:54:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LyZcn4Q3qz3nCS; Wed, 3 Aug 2022 14:54:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659538441; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=X6Ah5/bNw53YJBNgAvI4YlBceyRpA+Vh302I8BOvJfw=; b=RieRzHsRn/wk4BC4+axZKKY0pnsdPdJYwe+NRsOcAproRJcVNnew1n3o3Xp7YNlM/6KxgM N/d8Pg/OV3zERSBQcCXX6/myehDaOH5425YzXUZDBCEBTnf2mAKFc0UGle2JBYPkJzfRB/ TXza8/zZaT20uer702/Ly5rbzd2i0srUkcYcAzOBGJyx5xTNaRVJj7GO6RLJgZf4IJul+S jUwAzb5XexNQ0vQ0+qopp2Kw2YUzElHrXytrhoYZn9Lgbv9urPTbC2JpWjohTOgzSwVFh6 8OJf0ob1TqqWgmJ2Zk0YCr19OHoWmCz23q9QUUbIoSVAo8ravP4XVuIo6Exy5A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LyZcn3SdwzvkN; Wed, 3 Aug 2022 14:54:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 273Es1mJ082183; Wed, 3 Aug 2022 14:54:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 273Es1kT082182; Wed, 3 Aug 2022 14:54:01 GMT (envelope-from git) Date: Wed, 3 Aug 2022 14:54:01 GMT Message-Id: <202208031454.273Es1kT082182@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Rene Ladan Subject: git: 07352e310129 - 2022Q3 - www/chromium: update to 104.0.5112.79 List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-branches@freebsd.org X-BeenThere: dev-commits-ports-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rene X-Git-Repository: ports X-Git-Refname: refs/heads/2022Q3 X-Git-Reftype: branch X-Git-Commit: 07352e310129ca83ab3a2cc4924f80a81a149392 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659538441; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=X6Ah5/bNw53YJBNgAvI4YlBceyRpA+Vh302I8BOvJfw=; b=rUy3p56hioONHUAanUfCw+BD4ddNT5MG1B+6TQOnsEj41lmZ/b/UwhQKpfeWyKk4iQMTy8 6V96tkXh8ExD37PL/ku0KO+biJynGaypF59E//4+M0LqQbtZjTijIc8fpqJudeQQ4A6OIM veqQdi3LCRvYeCfz0difD/4af5YjxSEt/7VxRT5Yt1LHXQ/XPNxikPIzQONeNt9yDDdw9r RF9IFTmoO1HA7gAKULavX0KmHluYow7wmIDMVe+yAQVaZsSVWIAvXHvKOJU/VUtmltWKWn 803jHqvRQnCvs6OOTVcDwbFYIvNDV1bastyVxbJOVK1cpccDpRnO1XPuhX1dmA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659538441; a=rsa-sha256; cv=none; b=USULU4AKedyw5eqhJGPW6XLsWlD52n5VHKP4zK096QCH8WELJuVWWVX3Sl//NntX+eqme4 mil6g3SxplGUpomUhbo+7coGTz6kXyfIijl1tM38jyziemmW/XbpH7zM/RZH0awmvCYeN8 TZV/ec4QAfi2gdikWSFvFlagm+M5P7tV2DhGgQ609v6gWKQ2qlBY2FBx75sXzkwhPYJq0J VxRU/GPi5j+XYh3J2Ms4Jkr96GRUB8g8dnlK4pp3FOFAlwKHkmlIdRLdY83vaHNPOqBJPu fZc72nv4kQKyn2O4yXbOEb1I6rIRGjn6NXTKNM1oOiW1P1t0UPD6WbjsxFmMlA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch 2022Q3 has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=07352e310129ca83ab3a2cc4924f80a81a149392 commit 07352e310129ca83ab3a2cc4924f80a81a149392 Author: Robert Nagy AuthorDate: 2022-07-28 19:18:44 +0000 Commit: Rene Ladan CommitDate: 2022-08-03 14:53:48 +0000 www/chromium: update to 104.0.5112.79 Security: 96a41723-133a-11ed-be3b-3065ec8fd3ec (cherry picked from commit 2acdadaf097598eb951c388eee94a1b1c555c802) --- www/chromium/Makefile | 5 +- www/chromium/distinfo | 14 +- www/chromium/files/patch-BUILD.gn | 10 +- ...patch-apps_ui_views_app__window__frame__view.cc | 4 +- www/chromium/files/patch-base_BUILD.gn | 38 +- ...llocator_partition__allocator_page__allocator.h | 8 +- ...__allocator_page__allocator__internals__posix.h | 4 +- ...rtition__allocator_partition__address__space.cc | 4 +- ...tor_partition__alloc__base_rand__util__posix.cc | 8 +- ...e_threading_platform__thread__internal__posix.h | 11 + ...lloc__base_threading_platform__thread__posix.cc | 11 + ...__allocator_partition__alloc__base_time_time.cc | 11 + ...partition__allocator_partition__alloc__config.h | 8 +- ...tition__allocator_partition__alloc__constants.h | 15 +- ...locator_partition__allocator_partition__root.cc | 10 +- ...locator_partition__allocator_spinning__mutex.cc | 8 +- .../files/patch-base_files_file__util__posix.cc | 7 +- www/chromium/files/patch-base_i18n_icu__util.cc | 20 +- www/chromium/files/patch-base_process_memory.cc | 13 +- .../files/patch-base_process_process__posix.cc | 4 +- .../files/patch-base_process_process__unittest.cc | 4 +- www/chromium/files/patch-base_rand__util__posix.cc | 4 +- .../patch-base_strings_safe__sprintf__unittest.cc | 6 +- .../files/patch-base_threading_platform__thread.h | 4 +- .../files/patch-build_config_compiler_BUILD.gn | 20 +- www/chromium/files/patch-build_config_ozone.gni | 4 +- .../patch-chrome_app_app__management__strings.grdp | 10 +- .../patch-chrome_app_chrome__main__delegate.cc | 32 +- .../patch-chrome_app_generated__resources.grd | 14 +- .../files/patch-chrome_app_settings__strings.grdp | 6 +- .../files/patch-chrome_browser_about__flags.cc | 26 +- ...h-chrome_browser_after__startup__task__utils.cc | 22 +- ...pi_music__manager__private_device__id__linux.cc | 71 - ...browser_background_background__mode__manager.cc | 4 +- .../patch-chrome_browser_browser__process__impl.cc | 8 +- .../patch-chrome_browser_browser__resources.grd | 10 +- ..._browser_chrome__browser__interface__binders.cc | 14 +- .../patch-chrome_browser_chrome__browser__main.cc | 28 +- ...ome_browser_chrome__content__browser__client.cc | 28 +- ...rome_browser_chrome__content__browser__client.h | 4 +- .../files/patch-chrome_browser_defaults.cc | 4 +- ...-chrome_browser_dev__ui__browser__resources.grd | 6 +- ...hrome_browser_download_download__item__model.cc | 6 +- .../files/patch-chrome_browser_extensions_BUILD.gn | 4 +- ...ate_chrome__desktop__report__request__helper.cc | 6 +- ...extensions_api_settings__private_prefs__util.cc | 6 +- ...gging__private_webrtc__logging__private__api.cc | 4 +- ..._browser__context__keyed__service__factories.cc | 6 +- ..._browser_extensions_external__provider__impl.cc | 6 +- ...e__file__system__access__permission__context.cc | 4 +- .../patch-chrome_browser_flag__descriptions.cc | 16 +- .../patch-chrome_browser_flag__descriptions.h | 14 +- ...chrome__browser__main__extra__parts__metrics.cc | 6 +- ...ser_metrics_chrome__metrics__service__client.cc | 8 +- ...trics_power_process__metrics__recorder__util.cc | 10 +- ...hrome_browser_metrics_power_process__monitor.cc | 17 +- ...chrome_browser_metrics_power_process__monitor.h | 6 +- ...rowser_net_system__network__context__manager.cc | 10 +- ...onfiguration__policy__handler__list__factory.cc | 12 +- .../patch-chrome_browser_prefs_browser__prefs.cc | 8 +- ...h-chrome_browser_printing_print__job__worker.cc | 4 +- ...tch-chrome_browser_process__singleton__posix.cc | 21 +- ...hrome__browser__main__extra__parts__profiles.cc | 4 +- .../patch-chrome_browser_profiles_profile__impl.cc | 4 +- ...atch-chrome_browser_profiles_profiles__state.cc | 4 +- ...ources_sandbox__internals_sandbox__internals.ts | 29 + ..._appearance__page_appearance__browser__proxy.ts | 10 +- ...settings_appearance__page_appearance__page.html | 14 +- ...s_settings_appearance__page_appearance__page.ts | 36 +- ...s_settings_autofill__page_passwords__shared.css | 11 + ...ings_autofill__page_passwords__shared__css.html | 11 - ...atch-chrome_browser_resources_settings_route.ts | 4 +- ...ome_browser_resources_signin_signin__shared.css | 11 + ...owser_resources_signin_signin__shared__css.html | 11 - ...sync__confirmation_sync__confirmation__app.html | 38 + ...rowser_sharing_sharing__device__registration.cc | 4 +- ...ser_signin_primary__account__policy__manager.cc | 38 - ...wser_signin_primary__account__policy__manager.h | 20 - ...rowser_sync_device__info__sync__client__impl.cc | 4 +- .../patch-chrome_browser_themes_theme__helper.cc | 4 +- .../files/patch-chrome_browser_ui_browser.h | 16 +- ...rome_browser_ui_browser__command__controller.cc | 8 +- .../patch-chrome_browser_ui_browser__dialogs.h | 4 +- .../files/patch-chrome_browser_ui_chrome__pages.cc | 4 +- ...h-chrome_browser_ui_signin__view__controller.cc | 4 +- ...browser_ui_startup_startup__browser__creator.cc | 6 +- ...r_ui_startup_startup__browser__creator__impl.cc | 11 + .../files/patch-chrome_browser_ui_tab__helpers.cc | 8 +- ...h-chrome_browser_ui_views_accelerator__table.cc | 11 +- ...pps_chrome__native__app__window__views__aura.cc | 4 +- ...owser_ui_views_download_download__item__view.cc | 6 +- ..._browser__desktop__window__tree__host__linux.cc | 11 - ...-chrome_browser_ui_views_frame_browser__view.cc | 4 +- ..._ui_views_profiles_profile__menu__view__base.cc | 4 +- ..._browser_ui_views_tabs_tab__drag__controller.cc | 14 +- ...i_webui_chrome__web__ui__controller__factory.cc | 14 +- ..._browser_ui_webui_ntp_app__launcher__handler.cc | 6 +- ...rowser_ui_webui_settings_appearance__handler.cc | 14 +- ...tings_settings__localized__strings__provider.cc | 8 +- ...browser_web__applications_web__app__provider.cc | 4 +- ...thn_chrome__authenticator__request__delegate.cc | 14 +- .../files/patch-chrome_common_chrome__features.cc | 18 +- .../files/patch-chrome_common_chrome__features.h | 12 +- .../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 +- .../files/patch-chrome_common_url__constants.cc | 4 +- .../files/patch-chrome_common_url__constants.h | 4 +- .../patch-chrome_common_webui__url__constants.cc | 12 +- .../patch-chrome_common_webui__url__constants.h | 8 +- ...ome_renderer_chrome__render__frame__observer.cc | 4 +- ...vices_printing_print__backend__service__impl.cc | 4 +- ...services_speech_audio__source__fetcher__impl.cc | 4 +- ...rowser_system__signals__service__host__impl.cc} | 12 +- ..._browser_system__signals__service__host__impl.h | 20 + ...als_public_cpp_system__signals__service__host.h | 20 - www/chromium/files/patch-chrome_test_BUILD.gn | 4 +- ...raction_interaction__sequence__browser__util.cc | 4 +- ...hromecast_browser_cast__browser__main__parts.cc | 35 +- ...ast_renderer_cast__content__renderer__client.cc | 4 +- ..._assistant_browser_autofill__assistant__impl.cc | 4 +- ...tch-components_autofill__payments__strings.grdp | 6 +- ...utofill_core_browser_personal__data__manager.cc | 4 +- ...ill_core_common_autofill__payments__features.cc | 4 +- ...ch-components_components__chromium__strings.grd | 10 +- ...ponents_components__google__chrome__strings.grd | 10 +- ...e__engagement_public_feature__configurations.cc | 4 +- ...eature__engagement_public_feature__constants.cc | 4 +- ...feature__engagement_public_feature__constants.h | 4 +- ...nts_feature__engagement_public_feature__list.cc | 6 +- ...ents_feature__engagement_public_feature__list.h | 10 +- .../patch-components_flags__ui_flags__state.cc | 4 +- ...patch-components_live__caption_caption__util.cc | 4 +- ...patch-components_neterror_resources_neterror.js | 12 +- ...rator_browser_network__session__configurator.cc | 4 +- ...ser_network__session__configurator__unittest.cc | 4 +- ...atch-components_new__or__sad__tab__strings.grdp | 10 +- .../files/patch-components_os__crypt_os__crypt.h | 10 +- ...ssword__manager_core_browser_login__database.cc | 8 +- ...nager_core_browser_login__database__unittest.cc | 10 +- ...ger_core_browser_sync_password__sync__bridge.cc | 6 +- ...ager_core_common_password__manager__features.cc | 10 +- ...nager_core_common_password__manager__features.h | 4 +- ...policy_core_common_cloud_cloud__policy__util.cc | 12 +- ...ponents_policy_resources_policy__templates.json | 48 +- ..._ai_sandbox_screen__ai__sandbox__hook__linux.cc | 4 +- ...ents_translate_core_browser_translate__prefs.cc | 11 - ...isplay__embedder_skia__output__surface__impl.cc | 4 +- ..._display__embedder_software__output__surface.cc | 6 +- ...e_display__embedder_software__output__surface.h | 6 +- ...omponents_viz_service_display_skia__renderer.cc | 11 + ...e__sinks_root__compositor__frame__sink__impl.cc | 4 +- ...atch-content_app_content__main__runner__impl.cc | 18 +- www/chromium/files/patch-content_browser_BUILD.gn | 4 +- .../patch-content_browser_browser__main__loop.cc | 10 +- ...wser_child__process__launcher__helper__linux.cc | 22 +- ...patch-content_browser_gpu_gpu__process__host.cc | 8 +- ...rowser_renderer__host_delegated__frame__host.cc | 4 +- ...r_renderer__host_render__process__host__impl.cc | 4 +- ...er_renderer__host_render__process__host__impl.h | 4 +- ...derer__host_render__widget__host__view__aura.cc | 8 +- ...browser_webui_web__ui__main__frame__observer.cc | 10 +- ..._browser_webui_web__ui__main__frame__observer.h | 6 +- .../files/patch-content_child_child__process.cc | 4 +- www/chromium/files/patch-content_common_BUILD.gn | 4 +- www/chromium/files/patch-content_gpu_gpu__main.cc | 14 +- .../patch-content_gpu_gpu__sandbox__hook__linux.cc | 18 +- ...nt_ppapi__plugin_ppapi__blink__platform__impl.h | 6 +- ...atch-content_public_common_content__features.cc | 8 +- ...patch-content_public_common_content__features.h | 4 +- ...atch-content_public_common_content__switches.cc | 6 +- ...patch-content_public_common_content__switches.h | 6 +- ...tch-content_public_test_mock__render__thread.cc | 4 +- ...patch-content_renderer_render__process__impl.cc | 12 +- .../patch-content_renderer_render__thread__impl.cc | 12 +- ...ent_renderer_renderer__blink__platform__impl.cc | 6 +- ...tent_renderer_renderer__blink__platform__impl.h | 10 +- www/chromium/files/patch-content_shell_BUILD.gn | 4 +- www/chromium/files/patch-content_test_BUILD.gn | 6 +- .../files/patch-content_utility_services.cc | 12 +- .../files/patch-content_utility_utility__main.cc | 4 +- .../patch-device_bluetooth_bluetooth__adapter.cc | 11 + .../patch-device_bluetooth_cast__bluetooth.gni | 4 +- ...sions_browser_api_messaging_message__service.cc | 4 +- ...ivate_networking__private__delegate__factory.cc | 22 +- ..._browser__context__keyed__service__factories.cc | 4 +- ...tensions_common_api___permission__features.json | 8 +- ...ared__image__backing__factory__angle__vulkan.cc | 4 +- ...mmand__buffer_service_shared__image__factory.cc | 22 +- ...ommand__buffer_service_webgpu__decoder__impl.cc | 10 +- ...u_command__buffer_service_wrapped__sk__image.cc | 11 + ...ch-gpu_command__buffer_tests_gl__test__utils.cc | 4 +- ...tch-gpu_command__buffer_tests_gl__test__utils.h | 4 +- .../files/patch-gpu_ipc_service_gpu__init.cc | 12 +- .../files/patch-gpu_vulkan_vulkan__util.cc | 11 + www/chromium/files/patch-media_BUILD.gn | 4 +- www/chromium/files/patch-media_audio_BUILD.gn | 4 +- ...atch-media_audio_sndio_audio__manager__sndio.cc | 10 +- .../files/patch-media_base_media__switches.cc | 10 +- .../files/patch-media_base_media__switches.h | 8 +- .../files/patch-media_base_supported__types.cc | 8 +- ...h-media_capture_video_linux_fake__v4l2__impl.cc | 4 +- ...-media_gpu_chromeos_video__decoder__pipeline.cc | 12 +- .../patch-media_gpu_vaapi_vaapi__video__decoder.cc | 4 +- .../files/patch-media_gpu_vaapi_vaapi__wrapper.cc | 4 +- www/chromium/files/patch-media_media__options.gni | 6 +- www/chromium/files/patch-net_BUILD.gn | 22 +- .../patch-net_base_network__change__notifier.cc | 4 +- .../files/patch-net_base_sockaddr__util__posix.cc | 4 +- .../patch-net_cert_cert__verify__proc__unittest.cc | 4 +- .../files/patch-net_dns_host__resolver__manager.cc | 4 +- ...ution_configured__proxy__resolution__service.cc | 4 +- ...xy__resolution_proxy__config__service__linux.cc | 8 +- .../files/patch-net_socket_socket__posix.cc | 4 +- .../files/patch-net_socket_udp__socket__posix.cc | 8 +- ...ch-net_tools_quic_quic__http__proxy__backend.cc | 11 - ...patch-net_url__request_url__request__context.cc | 4 +- ..._url__request_url__request__context__builder.cc | 4 +- ...h-remoting_codec_webrtc__video__encoder__vpx.cc | 4 +- ..._instrumentation_queued__request__dispatcher.cc | 14 +- .../files/patch-third__party_angle_BUILD.gn | 8 +- ...tch-third__party_angle_src_libANGLE_Display.cpp | 10 +- ...third__party_angle_src_libANGLE_formatutils.cpp | 4 +- .../files/patch-third__party_angle_util_BUILD.gn | 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 +- ..._renderer_core_scroll_scrollbar__theme__aura.cc | 4 +- ...odules_webgl_webgl__rendering__context__base.cc | 4 +- ...modules_webgl_webgl__webcodecs__video__frame.cc | 4 +- ...h-third__party_blink_renderer_platform_BUILD.gn | 4 +- ...renderer_platform_fonts_font__platform__data.cc | 20 + ...er_platform_graphics_video__frame__submitter.cc | 4 +- ...derer_platform_runtime__enabled__features.json5 | 12 +- ...arty_blink_renderer_platform_wtf_math__extras.h | 6 +- ...atch-third__party_boringssl_BUILD.generated.gni | 6 +- ...ird__party_boringssl_src_include_openssl_base.h | 4 +- ...ashpad_minidump_minidump__misc__info__writer.cc | 4 +- ..._party_dawn_include_dawn_native_VulkanBackend.h | 6 +- ...ch-third__party_dawn_src_dawn_common_Platform.h | 12 +- ...party_dawn_src_dawn_native_vulkan_BackendVk.cpp | 10 +- ..._chromium_config_Chrome_openbsd_ia32_config.asm | 2070 +------------------ ...eg_chromium_config_Chrome_openbsd_ia32_config.h | 2072 +------------------- ...config_Chrome_openbsd_ia32_config__components.h | 2066 +++++++++++++++++++ ...g_chromium_config_Chrome_openbsd_x64_config.asm | 10 +- ...peg_chromium_config_Chrome_openbsd_x64_config.h | 8 +- ..._config_Chrome_openbsd_x64_config__components.h | 24 +- .../patch-third__party_ffmpeg_libavutil_cpu.c | 4 +- .../patch-third__party_glfw_src_src_egl__context.c | 11 - ...hird__party_pdfium_core_fxcrt_cfx__datetime.cpp | 11 - ...ch-third__party_swiftshader_src_Vulkan_BUILD.gn | 13 + ...patch-third__party_swiftshader_src_WSI_BUILD.gn | 18 + ...lkan-deps_vulkan-loader_src_loader_allocation.h | 11 +- ...eps_vulkan-loader_src_loader_get__environment.c | 13 +- ...vulkan-loader_src_loader_vk__loader__platform.h | 6 +- ...rd__party_webrtc_modules_audio__device_BUILD.gn | 4 +- .../files/patch-third__party_zlib_BUILD.gn | 8 +- ...ols_json__schema__compiler_feature__compiler.py | 5 +- .../patch-tools_protoc__wrapper_protoc__wrapper.py | 19 +- www/chromium/files/patch-ui_aura_screen__ozone.cc | 4 +- www/chromium/files/patch-ui_aura_screen__ozone.h | 4 +- ...patch-ui_base_ime_dummy__text__input__client.cc | 4 +- .../patch-ui_base_resource_resource__bundle.cc | 4 +- .../patch-ui_base_test_skia__gold__pixel__diff.cc | 10 +- .../files/patch-ui_base_ui__base__features.cc | 6 +- www/chromium/files/patch-ui_color_color__id.h | 6 +- .../files/patch-ui_color_native__color__mixers.cc | 17 - www/chromium/files/patch-ui_display_screen.cc | 4 +- www/chromium/files/patch-ui_display_screen.h | 8 +- ...ch-ui_events_keycodes_dom_keycode__converter.cc | 10 +- ...tch-ui_events_keycodes_dom_keycode__converter.h | 4 +- www/chromium/files/patch-ui_gfx_BUILD.gn | 4 +- www/chromium/files/patch-ui_gl_BUILD.gn | 10 +- .../files/patch-ui_gl_generate__bindings.py | 4 +- www/chromium/files/patch-ui_gl_gl__features.cc | 16 +- .../files/patch-ui_ozone_common_egl__util.cc | 4 +- ...platform_headless_headless__surface__factory.cc | 4 +- ..._platform_headless_ozone__platform__headless.cc | 10 +- .../patch-ui_strings_app__locale__settings.grd | 6 +- ...ings_translations_app__locale__settings__bn.xtb | 6 +- ...ings_translations_app__locale__settings__ja.xtb | 6 +- ...ings_translations_app__locale__settings__ko.xtb | 6 +- ...ings_translations_app__locale__settings__ml.xtb | 6 +- ...ings_translations_app__locale__settings__th.xtb | 6 +- ...s_translations_app__locale__settings__zh-CN.xtb | 6 +- ...s_translations_app__locale__settings__zh-TW.xtb | 8 +- .../patch-ui_views_controls_textfield_textfield.cc | 14 +- .../files/patch-ui_views_linux__ui_linux__ui.cc | 8 +- .../files/patch-ui_views_linux__ui_linux__ui.h | 12 +- .../files/patch-ui_views_style_platform__style.cc | 11 +- ...__aura_desktop__window__tree__host__platform.cc | 6 +- www/chromium/files/patch-v8_BUILD.gn | 8 +- www/chromium/files/patch-v8_src_api_api.cc | 4 +- ...src_wasm_baseline_ia32_liftoff-assembler-ia32.h | 24 +- 295 files changed, 3442 insertions(+), 5498 deletions(-) diff --git a/www/chromium/Makefile b/www/chromium/Makefile index b813e262f257..105000c1e678 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -1,7 +1,5 @@ -# Created by: Florent Thoumie - PORTNAME= chromium -PORTVERSION= 103.0.5060.134 +PORTVERSION= 104.0.5112.79 CATEGORIES= www wayland MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \ https://nerd.hu/distfiles/:external @@ -94,7 +92,6 @@ 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 \ enable_wmax_tokens=false \ fatal_linker_warnings=false \ diff --git a/www/chromium/distinfo b/www/chromium/distinfo index d449a092f418..69eec2095041 100644 --- a/www/chromium/distinfo +++ b/www/chromium/distinfo @@ -1,9 +1,9 @@ -TIMESTAMP = 1658300677 -SHA256 (chromium-103.0.5060.134.tar.xz) = e48a272481e41b1aae7aba71b55c41fe9e994cf71edd01c8ca1d0b604af0b571 -SIZE (chromium-103.0.5060.134.tar.xz) = 1488286096 -SHA256 (chrome-linux-103.0.5060.134-llvm13.profdata.tar.xz) = abac57f392bf42a68e94b9fcb90ac28e39e1019dccfbaf5ac5bf66210e24032c -SIZE (chrome-linux-103.0.5060.134-llvm13.profdata.tar.xz) = 24397884 -SHA256 (chromium-103.0.5060.134-testdata.tar.xz) = 8097abf4dd8e0bd3a9e293acf5e01ea379dcab9b4154bfa57817e8bbb47b0d59 -SIZE (chromium-103.0.5060.134-testdata.tar.xz) = 260891464 +TIMESTAMP = 1659422888 +SHA256 (chromium-104.0.5112.79.tar.xz) = 9cc662f1a84c796521ee17ed2808795ca937fe7f77bc605e788f0304a81dabf3 +SIZE (chromium-104.0.5112.79.tar.xz) = 1509100404 +SHA256 (chrome-linux-104.0.5112.79-llvm13.profdata.tar.xz) = d088e4540e6bf1a077e41e6a94ab7af3dd72cfdaad1f35737559a4570b0612b1 +SIZE (chrome-linux-104.0.5112.79-llvm13.profdata.tar.xz) = 24547748 +SHA256 (chromium-104.0.5112.79-testdata.tar.xz) = 9f54026ed796e66dcbaceb31be5408c510421a0c308ab890de8bc9237f2b837c +SIZE (chromium-104.0.5112.79-testdata.tar.xz) = 264005020 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 2ff3fd50744c..c6627a923546 100644 --- a/www/chromium/files/patch-BUILD.gn +++ b/www/chromium/files/patch-BUILD.gn @@ -1,4 +1,4 @@ ---- BUILD.gn.orig 2022-06-17 14:20:10 UTC +--- BUILD.gn.orig 2022-07-22 17:30:31 UTC +++ BUILD.gn @@ -54,7 +54,7 @@ declare_args() { root_extra_deps = [] @@ -17,7 +17,7 @@ "//net:net_unittests", "//services:services_unittests", "//services/service_manager/public/cpp", -@@ -447,7 +446,7 @@ group("gn_all") { +@@ -446,7 +445,7 @@ group("gn_all") { ] } @@ -51,7 +51,7 @@ deps += [ "//third_party/breakpad:symupload($host_toolchain)" ] } -@@ -1167,7 +1175,7 @@ if (!is_ios) { +@@ -1184,7 +1192,7 @@ if (!is_ios) { data_deps += [ "//content/web_test:web_test_common_mojom_js_data_deps" ] } @@ -60,7 +60,7 @@ data_deps += [ "//third_party/breakpad:minidump_stackwalk($host_toolchain)" ] } -@@ -1176,7 +1184,7 @@ if (!is_ios) { +@@ -1193,7 +1201,7 @@ if (!is_ios) { data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ] } @@ -69,7 +69,7 @@ data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ] } -@@ -1580,7 +1588,7 @@ group("chromium_builder_perf") { +@@ -1592,7 +1600,7 @@ group("chromium_builder_perf") { if (is_win) { data_deps += [ "//chrome/installer/mini_installer:mini_installer" ] diff --git a/www/chromium/files/patch-apps_ui_views_app__window__frame__view.cc b/www/chromium/files/patch-apps_ui_views_app__window__frame__view.cc index 151948510862..2ac2dff2a8b1 100644 --- a/www/chromium/files/patch-apps_ui_views_app__window__frame__view.cc +++ b/www/chromium/files/patch-apps_ui_views_app__window__frame__view.cc @@ -1,6 +1,6 @@ ---- apps/ui/views/app_window_frame_view.cc.orig 2022-02-28 16:54:41 UTC +--- apps/ui/views/app_window_frame_view.cc.orig 2022-07-22 17:30:31 UTC +++ apps/ui/views/app_window_frame_view.cc -@@ -138,7 +138,7 @@ gfx::Rect AppWindowFrameView::GetWindowBoundsForClient +@@ -137,7 +137,7 @@ gfx::Rect AppWindowFrameView::GetWindowBoundsForClient gfx::Rect window_bounds = client_bounds; // TODO(crbug.com/1052397): Revisit once build flag switch of lacros-chrome is // complete. diff --git a/www/chromium/files/patch-base_BUILD.gn b/www/chromium/files/patch-base_BUILD.gn index 61aca5553be5..e5a50d632c33 100644 --- a/www/chromium/files/patch-base_BUILD.gn +++ b/www/chromium/files/patch-base_BUILD.gn @@ -1,15 +1,15 @@ ---- base/BUILD.gn.orig 2022-06-17 14:20:10 UTC +--- base/BUILD.gn.orig 2022-07-22 17:30:31 UTC +++ base/BUILD.gn -@@ -1004,7 +1004,7 @@ mixed_component("base") { +@@ -1001,7 +1001,7 @@ mixed_component("base") { "timer/hi_res_timer_manager_posix.cc", ] - if (!is_nacl && !is_apple) { + if (!is_nacl && !is_apple && !is_bsd) { sources += [ - "cpu_affinity_posix.cc", - "cpu_affinity_posix.h", -@@ -1015,6 +1015,12 @@ mixed_component("base") { + "profiler/stack_copier_signal.cc", + "profiler/stack_copier_signal.h", +@@ -1010,6 +1010,12 @@ mixed_component("base") { "profiler/thread_delegate_posix.h", ] } @@ -23,11 +23,11 @@ if (is_win) { @@ -1496,11 +1502,23 @@ mixed_component("base") { + # Needed for 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. - if (!use_sysroot && -- (is_android || ((is_linux || is_chromeos) && !is_chromecast)) && -+ (is_android || ((is_linux || is_chromeos) && !is_chromecast && !is_bsd)) && +- if (!use_sysroot && (is_android || is_chromeos || (is_linux && !is_castos)) && ++ if (!use_sysroot && (is_android || is_chromeos || (is_linux && !is_castos && !is_bsd)) && host_toolchain != "//build/toolchain/cros:host") { libs += [ "atomic" ] } @@ -60,12 +60,12 @@ # Allow more direct string conversions on platforms with native utf8 # strings -- if (is_apple || is_chromeos || is_chromecast || is_fuchsia) { -+ if (is_apple || is_chromeos || is_chromecast || is_fuchsia || is_bsd) { +- if (is_apple || is_chromeos || is_castos || is_cast_android || is_fuchsia) { ++ if (is_apple || is_chromeos || is_castos || is_cast_android || is_fuchsia || is_bsd) { defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -2158,6 +2176,42 @@ mixed_component("base") { +@@ -2165,6 +2183,42 @@ mixed_component("base") { } } @@ -108,7 +108,7 @@ # iOS if (is_ios) { sources -= [ -@@ -3452,7 +3506,7 @@ test("base_unittests") { +@@ -3467,7 +3521,7 @@ test("base_unittests") { } } @@ -117,25 +117,25 @@ sources += [ "debug/proc_maps_linux_unittest.cc", "files/scoped_file_linux_unittest.cc", -@@ -3500,7 +3554,7 @@ test("base_unittests") { +@@ -3514,7 +3568,7 @@ test("base_unittests") { + "posix/file_descriptor_shuffle_unittest.cc", "posix/unix_domain_socket_unittest.cc", - "task/thread_pool/task_tracker_posix_unittest.cc", ] - if (!is_nacl && !is_apple) { + if (!is_nacl && !is_apple && !is_bsd) { sources += [ - "cpu_affinity_posix_unittest.cc", "profiler/stack_copier_signal_unittest.cc", -@@ -3511,7 +3565,7 @@ test("base_unittests") { + "profiler/thread_delegate_posix_unittest.cc", +@@ -3524,7 +3578,7 @@ test("base_unittests") { # Allow more direct string conversions on platforms with native utf8 # strings -- if (is_apple || is_chromeos || is_chromecast || is_fuchsia) { -+ if (is_apple || is_chromeos || is_chromecast || is_fuchsia || is_bsd) { +- if (is_apple || is_chromeos || is_castos || is_cast_android || is_fuchsia) { ++ if (is_apple || is_chromeos || is_castos || is_cast_android || is_fuchsia || is_bsd) { defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -3683,7 +3737,7 @@ test("base_unittests") { +@@ -3712,7 +3766,7 @@ test("base_unittests") { } } diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_page__allocator.h b/www/chromium/files/patch-base_allocator_partition__allocator_page__allocator.h index 57ceca3efe3a..160b0b69d02e 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_page__allocator.h +++ b/www/chromium/files/patch-base_allocator_partition__allocator_page__allocator.h @@ -1,9 +1,9 @@ ---- base/allocator/partition_allocator/page_allocator.h.orig 2022-02-28 16:54:41 UTC +--- base/allocator/partition_allocator/page_allocator.h.orig 2022-07-22 17:30:31 UTC +++ base/allocator/partition_allocator/page_allocator.h -@@ -194,7 +194,7 @@ BASE_EXPORT void DecommitAndZeroSystemPages(void* addr - // Whether decommitted memory is guaranteed to be zeroed when it is +@@ -206,7 +206,7 @@ void DecommitAndZeroSystemPages(void* address, size_t // recommitted. Do not assume that this will not change over time. - constexpr BASE_EXPORT bool DecommittedMemoryIsAlwaysZeroed() { + constexpr PA_COMPONENT_EXPORT( + PARTITION_ALLOC) bool DecommittedMemoryIsAlwaysZeroed() { -#if BUILDFLAG(IS_APPLE) +#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_BSD) return false; diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h b/www/chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h index 483bda5e796f..d728f1cc8f28 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h +++ b/www/chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/page_allocator_internals_posix.h.orig 2022-03-25 21:59:56 UTC +--- base/allocator/partition_allocator/page_allocator_internals_posix.h.orig 2022-07-22 17:30:31 UTC +++ base/allocator/partition_allocator/page_allocator_internals_posix.h -@@ -352,8 +352,12 @@ bool TryRecommitSystemPagesInternal( +@@ -347,8 +347,12 @@ bool TryRecommitSystemPagesInternal( void DiscardSystemPagesInternal(uintptr_t address, size_t length) { void* ptr = reinterpret_cast(address); diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_partition__address__space.cc b/www/chromium/files/patch-base_allocator_partition__allocator_partition__address__space.cc index 6b2c32c5ae86..ba8125fd0062 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_partition__address__space.cc +++ b/www/chromium/files/patch-base_allocator_partition__allocator_partition__address__space.cc @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/partition_address_space.cc.orig 2022-05-19 14:06:27 UTC +--- base/allocator/partition_allocator/partition_address_space.cc.orig 2022-07-22 17:30:31 UTC +++ base/allocator/partition_allocator/partition_address_space.cc -@@ -184,7 +184,7 @@ void PartitionAddressSpace::UninitConfigurablePoolForT +@@ -234,7 +234,7 @@ void PartitionAddressSpace::UninitConfigurablePoolForT setup_.configurable_pool_ = 0; } diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_rand__util__posix.cc b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_rand__util__posix.cc index 024aa1e97b2c..5b35ab100616 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_rand__util__posix.cc +++ b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_rand__util__posix.cc @@ -1,8 +1,8 @@ ---- base/allocator/partition_allocator/partition_alloc_base/rand_util_posix.cc.orig 2022-06-17 14:20:10 UTC +--- base/allocator/partition_allocator/partition_alloc_base/rand_util_posix.cc.orig 2022-07-22 17:30:31 UTC +++ base/allocator/partition_allocator/partition_alloc_base/rand_util_posix.cc -@@ -88,6 +88,10 @@ void RandBytes(void* output, size_t output_length) { - return; - } +@@ -86,6 +86,10 @@ void RandBytes(void* output, size_t output_length) { + if (getentropy(output, output_length) == 0) { + return; } +#elif BUILDFLAG(IS_BSD) + if (getentropy(output, output_length) == 0) { diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_threading_platform__thread__internal__posix.h b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_threading_platform__thread__internal__posix.h new file mode 100644 index 000000000000..dfe57178caab --- /dev/null +++ b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_threading_platform__thread__internal__posix.h @@ -0,0 +1,11 @@ +--- base/allocator/partition_allocator/partition_alloc_base/threading/platform_thread_internal_posix.h.orig 2022-07-22 17:30:31 UTC ++++ base/allocator/partition_allocator/partition_alloc_base/threading/platform_thread_internal_posix.h +@@ -10,7 +10,7 @@ + + namespace partition_alloc::internal::base::internal { + +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + // Current thread id is cached in thread local storage for performance reasons. + // In some rare cases it's important to invalidate that cache explicitly (e.g. + // after going through clone() syscall which does not call pthread_atfork() diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_threading_platform__thread__posix.cc b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_threading_platform__thread__posix.cc new file mode 100644 index 000000000000..16c4bd4b3273 --- /dev/null +++ b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_threading_platform__thread__posix.cc @@ -0,0 +1,11 @@ +--- base/allocator/partition_allocator/partition_alloc_base/threading/platform_thread_posix.cc.orig 2022-07-22 17:30:31 UTC ++++ base/allocator/partition_allocator/partition_alloc_base/threading/platform_thread_posix.cc +@@ -17,7 +17,7 @@ + #include "base/allocator/partition_allocator/partition_alloc_base/threading/platform_thread_internal_posix.h" + #include "build/build_config.h" + +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + #include + #include + #endif diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_time_time.cc b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_time_time.cc new file mode 100644 index 000000000000..aa3133e6ce8d --- /dev/null +++ b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_time_time.cc @@ -0,0 +1,11 @@ +--- base/allocator/partition_allocator/partition_alloc_base/time/time.cc.orig 2022-07-22 17:30:31 UTC ++++ base/allocator/partition_allocator/partition_alloc_base/time/time.cc +@@ -6,7 +6,7 @@ + + #include "build/build_config.h" + +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + // time.h is a widely included header and its size impacts build time. + // Try not to raise this limit unless necessary. See + // https://chromium.googlesource.com/chromium/src/+/HEAD/docs/wmax_tokens.md 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 index ae70ea5b47aa..d6413d76da7e 100644 --- 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 @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/partition_alloc_config.h.orig 2022-05-19 14:06:27 UTC +--- base/allocator/partition_allocator/partition_alloc_config.h.orig 2022-07-22 17:30:31 UTC +++ base/allocator/partition_allocator/partition_alloc_config.h -@@ -66,7 +66,7 @@ static_assert(sizeof(void*) != 8, ""); +@@ -68,7 +68,7 @@ static_assert(sizeof(void*) != 8, ""); // POSIX is not only UNIX, e.g. macOS and other OSes. We do use Linux-specific // features such as futex(2). @@ -9,7 +9,7 @@ #define PA_HAS_LINUX_KERNEL #endif -@@ -186,7 +186,7 @@ constexpr bool kUseLazyCommit = false; +@@ -187,7 +187,7 @@ constexpr bool kUseLazyCommit = false; // On these platforms, lock all the partitions before fork(), and unlock after. // This may be required on more platforms in the future. @@ -18,7 +18,7 @@ #define PA_HAS_ATFORK_HANDLER #endif -@@ -225,7 +225,7 @@ constexpr bool kUseLazyCommit = false; +@@ -227,7 +227,7 @@ constexpr bool kUseLazyCommit = false; // // Also enabled on ARM64 macOS, as the 16kiB pages on this platform lead to // larger slot spans. diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h index 9bb71dd6268f..ea17eb2ddaca 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h +++ b/www/chromium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h @@ -1,11 +1,20 @@ ---- base/allocator/partition_allocator/partition_alloc_constants.h.orig 2022-06-17 14:20:10 UTC +--- base/allocator/partition_allocator/partition_alloc_constants.h.orig 2022-07-22 17:30:31 UTC +++ base/allocator/partition_allocator/partition_alloc_constants.h -@@ -84,7 +84,7 @@ PartitionPageShift() { +@@ -96,7 +96,7 @@ PartitionPageShift() { return 18; // 256 KiB } #elif (BUILDFLAG(IS_APPLE) && defined(ARCH_CPU_64_BITS)) || \ - (BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64)) + ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64)) - PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONSTEXPR ALWAYS_INLINE size_t + PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONSTEXPR PA_ALWAYS_INLINE size_t PartitionPageShift() { return PageAllocationGranularityShift() + 2; +@@ -252,7 +252,7 @@ constexpr size_t kSuperPageBaseMask = ~kSuperPageOffse + #if defined(PA_HAS_64_BITS_POINTERS) + // The Configurable Pool is only available in 64-bit mode + constexpr size_t kNumPools = 3; +-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + // Special-case macOS. Contrary to other platforms, there is no sandbox limit + // there, meaning that a single renderer could "happily" consume >8GiB. So the + // 8GiB pool size is a regression. Make the limit higher on this platform only 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 70cba6b75bf8..a46d0c1a9f27 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 2022-06-17 14:20:10 UTC +--- base/allocator/partition_allocator/partition_root.cc.orig 2022-07-22 17:30:31 UTC +++ base/allocator/partition_allocator/partition_root.cc -@@ -29,7 +29,7 @@ +@@ -33,7 +33,7 @@ #include "wow64apiset.h" #endif @@ -9,7 +9,7 @@ #include #endif -@@ -226,7 +226,7 @@ void PartitionAllocMallocInitOnce() { +@@ -230,7 +230,7 @@ void PartitionAllocMallocInitOnce() { if (!g_global_init_called.compare_exchange_strong(expected, true)) return; @@ -18,7 +18,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. -@@ -305,7 +305,7 @@ static size_t PartitionPurgeSlotSpan( +@@ -309,7 +309,7 @@ static size_t PartitionPurgeSlotSpan( constexpr size_t kMaxSlotCount = (PartitionPageSize() * kMaxPartitionPagesPerRegularSlotSpan) / SystemPageSize(); @@ -27,7 +27,7 @@ // It's better for slot_usage to be stack-allocated and fixed-size, which // demands that its size be constexpr. On IS_APPLE and Linux on arm64, // PartitionPageSize() is always SystemPageSize() << 2, so regardless of -@@ -651,7 +651,7 @@ void PartitionRoot::Init(PartitionOptions +@@ -655,7 +655,7 @@ void PartitionRoot::Init(PartitionOptions // apple OSes. PA_CHECK((internal::SystemPageSize() == (size_t{1} << 12)) || (internal::SystemPageSize() == (size_t{1} << 14))); diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_spinning__mutex.cc b/www/chromium/files/patch-base_allocator_partition__allocator_spinning__mutex.cc index fc3fa41f6937..4d89110c7401 100644 --- a/www/chromium/files/patch-base_allocator_partition__allocator_spinning__mutex.cc +++ b/www/chromium/files/patch-base_allocator_partition__allocator_spinning__mutex.cc @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/spinning_mutex.cc.orig 2022-04-21 18:48:31 UTC +--- base/allocator/partition_allocator/spinning_mutex.cc.orig 2022-07-22 17:30:31 UTC +++ base/allocator/partition_allocator/spinning_mutex.cc -@@ -17,7 +17,15 @@ +@@ -18,7 +18,15 @@ #if defined(PA_HAS_LINUX_KERNEL) #include @@ -16,7 +16,7 @@ #include #include #endif // defined(PA_HAS_LINUX_KERNEL) -@@ -116,8 +124,13 @@ void SpinningMutex::FutexWait() { +@@ -107,8 +115,13 @@ void SpinningMutex::FutexWait() { // |kLockedContended| anymore. Note that even without spurious wakeups, the // value of |state_| is not guaranteed when this returns, as another thread // may get the lock before we get to run. @@ -30,7 +30,7 @@ if (err) { // These are programming error, check them. -@@ -129,8 +142,14 @@ void SpinningMutex::FutexWait() { +@@ -120,8 +133,14 @@ void SpinningMutex::FutexWait() { void SpinningMutex::FutexWake() { int saved_errno = errno; 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 d0148196ba56..5fafd41cb66a 100644 --- a/www/chromium/files/patch-base_files_file__util__posix.cc +++ b/www/chromium/files/patch-base_files_file__util__posix.cc @@ -1,12 +1,15 @@ ---- base/files/file_util_posix.cc.orig 2022-06-17 14:20:10 UTC +--- base/files/file_util_posix.cc.orig 2022-07-22 17:30:31 UTC +++ base/files/file_util_posix.cc -@@ -696,32 +696,34 @@ bool CreateDirectoryAndGetError(const FilePath& full_p +@@ -696,32 +696,37 @@ bool CreateDirectoryAndGetError(const FilePath& full_p File::Error* error) { ScopedBlockingCall scoped_blocking_call( FROM_HERE, BlockingType::MAY_BLOCK); // For call to mkdir(). + const FilePath kFileSystemRoot("/"); std::vector subpaths; ++ if (DirectoryExists(full_path)) ++ return true; ++ // Collect a list of all parent directories. FilePath last_path = full_path; - subpaths.push_back(full_path); diff --git a/www/chromium/files/patch-base_i18n_icu__util.cc b/www/chromium/files/patch-base_i18n_icu__util.cc index f9fe06225de0..c14c06e1c33c 100644 --- a/www/chromium/files/patch-base_i18n_icu__util.cc +++ b/www/chromium/files/patch-base_i18n_icu__util.cc @@ -1,20 +1,20 @@ ---- base/i18n/icu_util.cc.orig 2022-06-17 14:20:10 UTC +--- base/i18n/icu_util.cc.orig 2022-07-22 17:30:31 UTC +++ base/i18n/icu_util.cc -@@ -54,7 +54,7 @@ +@@ -53,7 +53,7 @@ + #include "third_party/icu/source/common/unicode/unistr.h" #endif - #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || \ -- ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && \ -+ ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) && \ - !BUILDFLAG(IS_CHROMECAST)) +-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || \ ++#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) || \ + BUILDFLAG(IS_CHROMEOS) || (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CASTOS)) #include "third_party/icu/source/i18n/unicode/timezone.h" #endif -@@ -326,7 +326,7 @@ void InitializeIcuTimeZone() { +@@ -325,7 +325,7 @@ void InitializeIcuTimeZone() { FuchsiaIntlProfileWatcher::GetPrimaryTimeZoneIdForIcuInitialization(); icu::TimeZone::adoptDefault( icu::TimeZone::createTimeZone(icu::UnicodeString::fromUTF8(zone_id))); --#elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && \ -+#elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) && \ - !BUILDFLAG(IS_CHROMECAST) +-#elif BUILDFLAG(IS_CHROMEOS) || (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CASTOS)) ++#elif BUILDFLAG(IS_CHROMEOS) || (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CASTOS)) || BUILDFLAG(IS_BSD) // To respond to the time zone change properly, the default time zone // cache in ICU has to be populated on starting up. + // See TimeZoneMonitorLinux::NotifyClientsFromImpl(). diff --git a/www/chromium/files/patch-base_process_memory.cc b/www/chromium/files/patch-base_process_memory.cc index 13cd43d79b6c..4c75405fc8fb 100644 --- a/www/chromium/files/patch-base_process_memory.cc +++ b/www/chromium/files/patch-base_process_memory.cc @@ -1,15 +1,6 @@ ---- base/process/memory.cc.orig 2022-02-28 16:54:41 UTC +--- base/process/memory.cc.orig 2022-07-22 17:30:31 UTC +++ base/process/memory.cc -@@ -65,14 +65,16 @@ NOINLINE void OnNoMemoryInternal(size_t size) { - - } // namespace internal - -+#if !BUILDFLAG(IS_BSD) - void TerminateBecauseOutOfMemory(size_t size) { - internal::OnNoMemoryInternal(size); - } -+#endif - +@@ -29,7 +29,7 @@ namespace base { // Defined in memory_mac.mm for macOS + use_allocator="none". In case of // USE_PARTITION_ALLOC_AS_MALLOC, no need to route the call to the system // default calloc of macOS. diff --git a/www/chromium/files/patch-base_process_process__posix.cc b/www/chromium/files/patch-base_process_process__posix.cc index 5154b3028c57..4f9205302896 100644 --- a/www/chromium/files/patch-base_process_process__posix.cc +++ b/www/chromium/files/patch-base_process_process__posix.cc @@ -1,4 +1,4 @@ ---- base/process/process_posix.cc.orig 2022-05-19 14:06:27 UTC +--- base/process/process_posix.cc.orig 2022-07-22 17:30:31 UTC +++ base/process/process_posix.cc @@ -25,10 +25,15 @@ #include "build/build_config.h" @@ -35,7 +35,7 @@ // On Mac we can wait on non child processes. return WaitForSingleNonChildProcess(handle, timeout); #else -@@ -358,7 +363,55 @@ void Process::Exited(int exit_code) const {} +@@ -379,7 +384,55 @@ void Process::Exited(int exit_code) const { int Process::GetPriority() const { DCHECK(IsValid()); diff --git a/www/chromium/files/patch-base_process_process__unittest.cc b/www/chromium/files/patch-base_process_process__unittest.cc index 32da363685fc..7c23a1ea4882 100644 --- a/www/chromium/files/patch-base_process_process__unittest.cc +++ b/www/chromium/files/patch-base_process_process__unittest.cc @@ -1,6 +1,6 @@ ---- base/process/process_unittest.cc.orig 2022-06-17 14:20:10 UTC +--- base/process/process_unittest.cc.orig 2022-07-22 17:30:31 UTC +++ base/process/process_unittest.cc -@@ -139,7 +139,7 @@ TEST_F(ProcessTest, CreationTimeOtherProcess) { +@@ -193,7 +193,7 @@ TEST_F(ProcessTest, CreationTimeOtherProcess) { // was spawned and a time recorded after it was spawned. However, since the // base::Time and process creation clocks don't match, tolerate some error. constexpr base::TimeDelta kTolerance = diff --git a/www/chromium/files/patch-base_rand__util__posix.cc b/www/chromium/files/patch-base_rand__util__posix.cc index 5e00097c8aa2..ce4eedbcb4ee 100644 --- a/www/chromium/files/patch-base_rand__util__posix.cc +++ b/www/chromium/files/patch-base_rand__util__posix.cc @@ -1,4 +1,4 @@ ---- base/rand_util_posix.cc.orig 2022-02-28 16:54:41 UTC +--- base/rand_util_posix.cc.orig 2022-07-22 17:30:31 UTC +++ base/rand_util_posix.cc @@ -17,7 +17,7 @@ #include "base/posix/eintr_wrapper.h" @@ -33,7 +33,7 @@ #if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && !BUILDFLAG(IS_NACL) // We have to call `getrandom` via Linux Syscall Support, rather than through // the libc wrapper, because we might not have an up-to-date libc (e.g. on -@@ -93,11 +96,16 @@ void RandBytes(void* output, size_t output_length) { +@@ -91,11 +94,16 @@ void RandBytes(void* output, size_t output_length) { const bool success = ReadFromFD(urandom_fd, static_cast(output), output_length); CHECK(success); diff --git a/www/chromium/files/patch-base_strings_safe__sprintf__unittest.cc b/www/chromium/files/patch-base_strings_safe__sprintf__unittest.cc index f4353c3b265d..5752dc911ef0 100644 --- a/www/chromium/files/patch-base_strings_safe__sprintf__unittest.cc +++ b/www/chromium/files/patch-base_strings_safe__sprintf__unittest.cc @@ -1,6 +1,6 @@ ---- base/strings/safe_sprintf_unittest.cc.orig 2022-02-28 16:54:41 UTC +--- base/strings/safe_sprintf_unittest.cc.orig 2022-07-22 17:30:31 UTC +++ base/strings/safe_sprintf_unittest.cc -@@ -731,6 +731,7 @@ TEST(SafeSPrintfTest, EmbeddedNul) { +@@ -732,6 +732,7 @@ TEST(SafeSPrintfTest, EmbeddedNul) { #endif } @@ -8,7 +8,7 @@ TEST(SafeSPrintfTest, EmitNULL) { char buf[40]; #if defined(__GNUC__) -@@ -747,6 +748,7 @@ TEST(SafeSPrintfTest, EmitNULL) { +@@ -748,6 +749,7 @@ TEST(SafeSPrintfTest, EmitNULL) { #pragma GCC diagnostic pop #endif } diff --git a/www/chromium/files/patch-base_threading_platform__thread.h b/www/chromium/files/patch-base_threading_platform__thread.h index 7829e5be4113..c871da786e1f 100644 --- a/www/chromium/files/patch-base_threading_platform__thread.h +++ b/www/chromium/files/patch-base_threading_platform__thread.h @@ -1,6 +1,6 @@ ---- base/threading/platform_thread.h.orig 2022-05-19 14:06:27 UTC +--- base/threading/platform_thread.h.orig 2022-07-22 17:30:31 UTC +++ base/threading/platform_thread.h -@@ -211,7 +211,7 @@ class BASE_EXPORT PlatformThread { +@@ -213,7 +213,7 @@ class BASE_EXPORT PlatformThread { // Returns a realtime period provided by `delegate`. static TimeDelta GetRealtimePeriod(Delegate* delegate); diff --git a/www/chromium/files/patch-build_config_compiler_BUILD.gn b/www/chromium/files/patch-build_config_compiler_BUILD.gn index aa5b6f12202c..50d9caf98660 100644 --- a/www/chromium/files/patch-build_config_compiler_BUILD.gn +++ b/www/chromium/files/patch-build_config_compiler_BUILD.gn @@ -1,4 +1,4 @@ ---- build/config/compiler/BUILD.gn.orig 2022-06-17 14:20:10 UTC +--- build/config/compiler/BUILD.gn.orig 2022-07-22 17:30:31 UTC +++ build/config/compiler/BUILD.gn @@ -231,13 +231,16 @@ config("default_include_dirs") { # Compiler instrumentation can introduce dependencies in DSOs to symbols in @@ -38,7 +38,7 @@ cflags += [ "-fcrash-diagnostics-dir=" + clang_diagnostic_dir ] # TODO(hans): Remove this once Clang generates better optimized debug info -@@ -903,7 +910,7 @@ config("compiler_cpu_abi") { +@@ -909,7 +916,7 @@ config("compiler_cpu_abi") { ] } } else if (current_cpu == "arm") { @@ -47,7 +47,7 @@ cflags += [ "--target=arm-linux-gnueabihf" ] ldflags += [ "--target=arm-linux-gnueabihf" ] } -@@ -917,7 +924,7 @@ config("compiler_cpu_abi") { +@@ -923,7 +930,7 @@ config("compiler_cpu_abi") { cflags += [ "-mtune=$arm_tune" ] } } else if (current_cpu == "arm64") { @@ -56,7 +56,7 @@ cflags += [ "--target=aarch64-linux-gnu" ] ldflags += [ "--target=aarch64-linux-gnu" ] } -@@ -1238,7 +1245,7 @@ config("compiler_deterministic") { +@@ -1244,7 +1251,7 @@ config("compiler_deterministic") { # different build directory like "out/feature_a" and "out/feature_b" if # we build same files with same compile flag. # Other paths are already given in relative, no need to normalize them. @@ -65,7 +65,7 @@ # TODO(https://crbug.com/1231236): Use -ffile-compilation-dir= here. cflags += [ "-Xclang", -@@ -1529,12 +1536,12 @@ config("default_warnings") { +@@ -1535,12 +1542,12 @@ config("default_warnings") { "-Wno-ignored-pragma-optimize", ] @@ -78,9 +78,9 @@ - if (!is_nacl && !(is_chromeos || + if (!is_nacl && !is_bsd && !(is_chromeos || default_toolchain == "//build/toolchain/cros:target")) { - # TODO(https://crbug.com/1316298): Re-enable once test failure is figured out + # TODO(https://crbug.com/1322823): Remove flags once potential miscompile is investigated. cflags += [ -@@ -1719,7 +1726,7 @@ config("no_chromium_code") { +@@ -1724,7 +1731,7 @@ config("no_chromium_code") { # third-party libraries. "-Wno-c++11-narrowing", ] @@ -89,7 +89,7 @@ cflags += [ # Disabled for similar reasons as -Wunused-variable. "-Wno-unused-but-set-variable", -@@ -2233,7 +2240,7 @@ config("afdo_optimize_size") { +@@ -2238,7 +2245,7 @@ config("afdo_optimize_size") { # There are some targeted places that AFDO regresses, so we provide a separate # config to allow AFDO to be disabled per-target. config("afdo") { @@ -98,7 +98,7 @@ cflags = [] *** 13762 LINES SKIPPED ***