summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Hartmann <stha09@googlemail.com>2020-06-01 09:57:03 +0200
committerMike Gilbert <floppym@gentoo.org>2020-06-01 13:34:20 -0400
commitaca4cd0b6fc95026da9ff7be4678f1e9ff92ffc3 (patch)
tree23293fabb0234b9a672bd077b7ef73bcc4530529 /www-client/chromium
parentdev-python/argcomplete: keyworded 1.11.1-r1 for hppa, bug #719694 (diff)
downloadgentoo-aca4cd0b6fc95026da9ff7be4678f1e9ff92ffc3.tar.gz
gentoo-aca4cd0b6fc95026da9ff7be4678f1e9ff92ffc3.tar.bz2
gentoo-aca4cd0b6fc95026da9ff7be4678f1e9ff92ffc3.zip
www-client/chromium: beta channel bump to 84.0.4147.30
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Stephan Hartmann <stha09@googlemail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'www-client/chromium')
-rw-r--r--www-client/chromium/Manifest3
-rw-r--r--www-client/chromium/chromium-84.0.4147.30.ebuild (renamed from www-client/chromium/chromium-84.0.4136.5.ebuild)37
-rw-r--r--www-client/chromium/files/chromium-84-gcc-include.patch145
-rw-r--r--www-client/chromium/files/chromium-84-gcc-noexcept.patch57
-rw-r--r--www-client/chromium/files/chromium-84-gcc-template.patch146
-rw-r--r--www-client/chromium/files/chromium-84-gcc-unique_ptr.patch29
-rw-r--r--www-client/chromium/files/chromium-84-template.patch80
7 files changed, 11 insertions, 486 deletions
diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest
index a37ec5e53f67..1966ce66d894 100644
--- a/www-client/chromium/Manifest
+++ b/www-client/chromium/Manifest
@@ -1,4 +1,5 @@
DIST chromium-83.0.4103.61.tar.xz 802558244 BLAKE2B d71ec15bea46438dccda49bb5d8ca0013e89e6876470aba077fbad70578a6f4d9ffb71150a9f0c676740be1cf3a7c681077e39ee9cf961b508b8a59167b4b949 SHA512 0fa179bdc61399c3e15e03ce1e720ca6487df603712689ffd4161ef1103c131b0baaedca3c7d706dfdcd2fa3328337cc4a807c0478a429f88358e512cfacbcba
-DIST chromium-84.0.4136.5.tar.xz 840308252 BLAKE2B 3f10ea5dbb48dd2a39cfb8d39289ad439d0257bea6e40ff130d427f96252890a6164a8dae3b5d30b7e74bcb87815055a6f27826add3ef5e9849e72c6a7dcc3b1 SHA512 9b6285ec2bb9790b8e1593473f8e1f2642a6fa851fb5645c282c48911dffabc2107aa99c90b6d6450eb8c0dc38daa089c514801921bc1ac782b25e34d9b8fd84
+DIST chromium-84-patchset-1.tar.xz 17652 BLAKE2B 17008a5d7b81fd9dd3934f815922a10c4b33bd4b3a13b350011d60627133f2179c2e70a6e74ef11ddf9b68b83b988fad3df15e9307f871006ccb7aca52c819da SHA512 2a45183c60794256b150bf67aa8395bab113e77b338775f737ebd8a822fd17be776b786ad12ffa759774a8876e0976a1c285ef90257e9532cfd9952baba7096d
+DIST chromium-84.0.4147.30.tar.xz 845012272 BLAKE2B 2f88b57f3411886fe69731de8dee0bfdec7877ccc69e64acb697c1c3fe391ceadef429a636be2fa9c17059c0cdbf5339692bbc542c6e82727ca4c3917e3e6679 SHA512 6188727638c64fb1e9cf1760b038ee196853b0460dce0a8d5ce9ed890a08c6da19c1619b847b1f9462fb97942909ac44404d78acfbb8a26ffce2ef3d7eca5dc6
DIST setuptools-44.1.0.zip 858569 BLAKE2B f59f154e121502a731e51294ccd293d60ffccadacf51e23b53bf7ceba38858948b86783238061136c827ac3373ea7ea8e6253d4bb53f3f1dd69284568ec65a68 SHA512 4dfb0f42d334b835758e865a26ecd1e725711fa2b9c38ddc273b8b3849fba04527bc97436d11ba1e98f1a42922aa0f0b9032e32998273c705fac6e10735eacbf
DIST xcb-proto-1.14.tar.xz 143384 BLAKE2B 60212b0f0ce039a64a2e6cbbc78564eeffc57cff20987b37dc780d8d97ae888a7dbfbbaadc6e0e4bedfc5d1e360f16318e3825ad8406de668d9c7c66cf7f4b5d SHA512 de66d568163b6da2be9d6c59984f3afa3acd119a781378638045fd68018665ef5c9af98f024e9962ba3eb7c7a4d85c27ba70ffafceb2324ccc6940f34de16690
diff --git a/www-client/chromium/chromium-84.0.4136.5.ebuild b/www-client/chromium/chromium-84.0.4147.30.ebuild
index 58360a0999fa..7e7c4d23de9c 100644
--- a/www-client/chromium/chromium-84.0.4136.5.ebuild
+++ b/www-client/chromium/chromium-84.0.4147.30.ebuild
@@ -13,9 +13,12 @@ inherit check-reqs chromium-2 desktop flag-o-matic multilib ninja-utils pax-util
DESCRIPTION="Open-source version of Google Chrome web browser"
HOMEPAGE="https://chromium.org/"
XCB_PROTO_VERSION="1.14"
+PATCHSET="1"
+PATCHSET_NAME="chromium-$(ver_cut 1)-patchset-${PATCHSET}"
SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz
https://files.pythonhosted.org/packages/ed/7b/bbf89ca71e722b7f9464ebffe4b5ee20a9e5c9a555a56e2d3914bb9119a6/setuptools-44.1.0.zip
- https://www.x.org/releases/individual/proto/xcb-proto-${XCB_PROTO_VERSION}.tar.xz"
+ https://www.x.org/releases/individual/proto/xcb-proto-${XCB_PROTO_VERSION}.tar.xz
+ https://github.com/stha09/chromium-patches/releases/download/${PATCHSET_NAME}/${PATCHSET_NAME}.tar.xz"
LICENSE="BSD"
SLOT="0"
@@ -100,10 +103,6 @@ BDEPEND="
sys-devel/flex
virtual/pkgconfig
closure-compile? ( virtual/jre )
- !system-libvpx? (
- amd64? ( dev-lang/yasm )
- x86? ( dev-lang/yasm )
- )
"
: ${CHROMIUM_FORCE_CLANG=no}
@@ -116,10 +115,6 @@ fi
if [[ ${CHROMIUM_FORCE_LIBCXX} == yes ]]; then
RDEPEND+=" >=sys-libs/libcxx-9"
DEPEND+=" >=sys-libs/libcxx-9"
- BDEPEND+="
- amd64? ( dev-lang/yasm )
- x86? ( dev-lang/yasm )
- "
else
COMMON_DEPEND="
app-arch/snappy:=
@@ -165,23 +160,6 @@ them in Chromium, then add --password-store=basic to CHROMIUM_FLAGS
in /etc/chromium/default.
"
-PATCHES=(
- "${FILESDIR}/chromium-compiler-r12.patch"
- "${FILESDIR}/chromium-fix-char_traits.patch"
- "${FILESDIR}/chromium-blink-style_format.patch"
- "${FILESDIR}/chromium-78-protobuf-export.patch"
- "${FILESDIR}/chromium-79-gcc-alignas.patch"
- "${FILESDIR}/chromium-80-gcc-quiche.patch"
- "${FILESDIR}/chromium-82-gcc-template.patch"
- "${FILESDIR}/chromium-83-gcc-serviceworker.patch"
- "${FILESDIR}/chromium-83-gcc-10.patch"
- "${FILESDIR}/chromium-84-gcc-noexcept.patch"
- "${FILESDIR}/chromium-84-gcc-template.patch"
- "${FILESDIR}/chromium-84-gcc-include.patch"
- "${FILESDIR}/chromium-84-gcc-unique_ptr.patch"
- "${FILESDIR}/chromium-84-template.patch"
-)
-
pre_build_checks() {
if [[ ${MERGE_TYPE} != binary ]]; then
local -x CPP="$(tc-getCXX) -E"
@@ -227,6 +205,8 @@ src_prepare() {
# Calling this here supports resumption via FEATURES=keepwork
python_setup
+ eapply "${WORKDIR}/patches"
+
default
mkdir -p third_party/node/linux/node-linux-x64/bin || die
@@ -267,7 +247,6 @@ src_prepare() {
third_party/angle/third_party/vulkan-loader
third_party/angle/third_party/vulkan-tools
third_party/angle/third_party/vulkan-validation-layers
- third_party/angle/third_party/VulkanMemoryAllocator
third_party/apple_apsl
third_party/axe-core
third_party/blink
@@ -304,6 +283,7 @@ src_prepare() {
third_party/depot_tools
third_party/devscripts
third_party/devtools-frontend
+ third_party/devtools-frontend/src/front_end/third_party/acorn
third_party/devtools-frontend/src/front_end/third_party/codemirror
third_party/devtools-frontend/src/front_end/third_party/fabricjs
third_party/devtools-frontend/src/front_end/third_party/lighthouse
@@ -344,6 +324,7 @@ src_prepare() {
third_party/libxml/chromium
third_party/libyuv
third_party/llvm
+ third_party/lottie
third_party/lss
third_party/lzma_sdk
third_party/mako
@@ -575,7 +556,7 @@ src_configure() {
# Never use bundled gold binary. Disable gold linker flags for now.
# Do not use bundled clang.
# Trying to use gold results in linker crash.
- myconf_gn+=" use_gold=false use_sysroot=false linux_use_bundled_binutils=false use_custom_libcxx=false"
+ myconf_gn+=" use_gold=false use_sysroot=false use_custom_libcxx=false"
# Disable forced lld, bug 641556
myconf_gn+=" use_lld=false"
diff --git a/www-client/chromium/files/chromium-84-gcc-include.patch b/www-client/chromium/files/chromium-84-gcc-include.patch
deleted file mode 100644
index 1c6d96cb9c4f..000000000000
--- a/www-client/chromium/files/chromium-84-gcc-include.patch
+++ /dev/null
@@ -1,145 +0,0 @@
-From 60e856c553f4532c2035b087dbdbdde42dbb5f09 Mon Sep 17 00:00:00 2001
-From: Stephan Hartmann <stha09@googlemail.com>
-Date: Sat, 9 May 2020 11:33:04 +0000
-Subject: [PATCH] IWYU: memcpy is defined in cstring
-
----
- cc/base/list_container_helper.cc | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/cc/base/list_container_helper.cc b/cc/base/list_container_helper.cc
-index afd386e..7b594b4 100644
---- a/cc/base/list_container_helper.cc
-+++ b/cc/base/list_container_helper.cc
-@@ -7,6 +7,7 @@
- #include <stddef.h>
-
- #include <algorithm>
-+#include <cstring>
- #include <vector>
-
- #include "base/check_op.h"
---
-2.26.2
-
-From 5e20370e4bc1fd3beaa9af62fe27aaedb903bacf Mon Sep 17 00:00:00 2001
-From: Piotr Tworek <ptworek@vewd.com>
-Date: Tue, 05 May 2020 06:06:35 +0000
-Subject: [PATCH] Add missing bitset include in web_touch_event.cc.
-
-The code uses std::bitset, but does not include header declaring it. It
-works when using bundled copy of libcxx, but fails when using system
-libstdc++ on Linux.
-
-Change-Id: I8a88078e110b27623b3cdea38c94012ba4050ee7
-Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2179123
-Reviewed-by: Jeremy Roman <jbroman@chromium.org>
-Commit-Queue: Piotr Tworek <ptworek@vewd.com>
-Cr-Commit-Position: refs/heads/master@{#765415}
----
-
-diff --git a/third_party/blink/common/input/web_touch_event.cc b/third_party/blink/common/input/web_touch_event.cc
-index 7ef37fec..aa054f9 100644
---- a/third_party/blink/common/input/web_touch_event.cc
-+++ b/third_party/blink/common/input/web_touch_event.cc
-@@ -2,6 +2,8 @@
- // Use of this source code is governed by a BSD-style license that can be
- // found in the LICENSE file.
-
-+#include <bitset>
-+
- #include "third_party/blink/public/common/input/web_touch_event.h"
-
- namespace blink {
-
-From effd506ce070d58e731bd6086681b9cded8573ed Mon Sep 17 00:00:00 2001
-From: Stephan Hartmann <stha09@googlemail.com>
-Date: Sun, 10 May 2020 07:24:38 +0000
-Subject: [PATCH] IWYU: add a bunch of missing cstring includes
-
----
- .../crashpad/snapshot/minidump/minidump_context_converter.cc | 2 ++
- third_party/crashpad/crashpad/util/linux/ptrace_client.cc | 1 +
- .../crashpad/crashpad/util/net/http_multipart_builder.cc | 1 +
- third_party/crashpad/crashpad/util/net/http_transport_socket.cc | 2 ++
- third_party/crashpad/crashpad/util/process/process_memory.cc | 1 +
- third_party/crashpad/crashpad/util/stream/log_output_stream.cc | 1 +
- 6 files changed, 8 insertions(+)
-
-diff --git a/third_party/crashpad/crashpad/snapshot/minidump/minidump_context_converter.cc b/third_party/crashpad/crashpad/snapshot/minidump/minidump_context_converter.cc
-index 0c840deac..1d163b42f 100644
---- a/third_party/crashpad/crashpad/snapshot/minidump/minidump_context_converter.cc
-+++ b/third_party/crashpad/crashpad/snapshot/minidump/minidump_context_converter.cc
-@@ -14,6 +14,8 @@
-
- #include "snapshot/minidump/minidump_context_converter.h"
-
-+#include <cstring>
-+
- #include "base/stl_util.h"
- #include "minidump/minidump_context.h"
-
-diff --git a/third_party/crashpad/crashpad/util/linux/ptrace_client.cc b/third_party/crashpad/crashpad/util/linux/ptrace_client.cc
-index f097ad985..e91ce2eca 100644
---- a/third_party/crashpad/crashpad/util/linux/ptrace_client.cc
-+++ b/third_party/crashpad/crashpad/util/linux/ptrace_client.cc
-@@ -17,6 +17,7 @@
- #include <errno.h>
- #include <stdio.h>
-
-+#include <cstring>
- #include <string>
-
- #include "base/logging.h"
-diff --git a/third_party/crashpad/crashpad/util/net/http_multipart_builder.cc b/third_party/crashpad/crashpad/util/net/http_multipart_builder.cc
-index 267960b27..8ed7edc2f 100644
---- a/third_party/crashpad/crashpad/util/net/http_multipart_builder.cc
-+++ b/third_party/crashpad/crashpad/util/net/http_multipart_builder.cc
-@@ -16,6 +16,7 @@
-
- #include <sys/types.h>
-
-+#include <cstring>
- #include <utility>
- #include <vector>
-
-diff --git a/third_party/crashpad/crashpad/util/net/http_transport_socket.cc b/third_party/crashpad/crashpad/util/net/http_transport_socket.cc
-index 4dd01b6e7..60cd60c17 100644
---- a/third_party/crashpad/crashpad/util/net/http_transport_socket.cc
-+++ b/third_party/crashpad/crashpad/util/net/http_transport_socket.cc
-@@ -19,6 +19,8 @@
- #include <poll.h>
- #include <sys/socket.h>
-
-+#include <cstring>
-+
- #include "base/logging.h"
- #include "base/macros.h"
- #include "base/numerics/safe_conversions.h"
-diff --git a/third_party/crashpad/crashpad/util/process/process_memory.cc b/third_party/crashpad/crashpad/util/process/process_memory.cc
-index ab87b940f..e02bcea81 100644
---- a/third_party/crashpad/crashpad/util/process/process_memory.cc
-+++ b/third_party/crashpad/crashpad/util/process/process_memory.cc
-@@ -15,6 +15,7 @@
- #include "util/process/process_memory.h"
-
- #include <algorithm>
-+#include <cstring>
-
- #include "base/logging.h"
- #include "util/numeric/safe_assignment.h"
-diff --git a/third_party/crashpad/crashpad/util/stream/log_output_stream.cc b/third_party/crashpad/crashpad/util/stream/log_output_stream.cc
-index 03c0a5a02..45d823aa4 100644
---- a/third_party/crashpad/crashpad/util/stream/log_output_stream.cc
-+++ b/third_party/crashpad/crashpad/util/stream/log_output_stream.cc
-@@ -15,6 +15,7 @@
- #include "util/stream/log_output_stream.h"
-
- #include <algorithm>
-+#include <cstring>
-
- #include "base/logging.h"
-
---
-2.26.2
-
diff --git a/www-client/chromium/files/chromium-84-gcc-noexcept.patch b/www-client/chromium/files/chromium-84-gcc-noexcept.patch
deleted file mode 100644
index e3918ca28f58..000000000000
--- a/www-client/chromium/files/chromium-84-gcc-noexcept.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-diff --git a/third_party/blink/public/platform/cross_variant_mojo_util.h b/third_party/blink/public/platform/cross_variant_mojo_util.h
-index dee0b95..0c83580 100644
---- a/third_party/blink/public/platform/cross_variant_mojo_util.h
-+++ b/third_party/blink/public/platform/cross_variant_mojo_util.h
-@@ -124,7 +124,7 @@ class CrossVariantMojoAssociatedReceiver {
- ~CrossVariantMojoAssociatedReceiver() = default;
-
- CrossVariantMojoAssociatedReceiver(
-- CrossVariantMojoAssociatedReceiver&&) noexcept = default;
-+ CrossVariantMojoAssociatedReceiver&&) = default;
- CrossVariantMojoAssociatedReceiver& operator=(
- CrossVariantMojoAssociatedReceiver&&) noexcept = default;
-
-@@ -155,7 +155,7 @@ class CrossVariantMojoAssociatedRemote {
- ~CrossVariantMojoAssociatedRemote() = default;
-
- CrossVariantMojoAssociatedRemote(
-- CrossVariantMojoAssociatedRemote&&) noexcept = default;
-+ CrossVariantMojoAssociatedRemote&&) = default;
- CrossVariantMojoAssociatedRemote& operator=(
- CrossVariantMojoAssociatedRemote&&) noexcept = default;
-
-diff --git a/base/containers/flat_map.h b/base/containers/flat_map.h
-index ed82c5d..1af6b40 100644
---- a/base/containers/flat_map.h
-+++ b/base/containers/flat_map.h
-@@ -202,7 +202,7 @@ class flat_map : public ::base::internal::flat_tree<
- ~flat_map() = default;
-
- flat_map& operator=(const flat_map&) = default;
-- flat_map& operator=(flat_map&&) = default;
-+ flat_map& operator=(flat_map&&) noexcept = default;
- // Takes the first if there are duplicates in the initializer list.
- flat_map& operator=(std::initializer_list<value_type> ilist);
-
-diff --git a/base/containers/flat_tree.h b/base/containers/flat_tree.h
-index 9412ff6..8ecc1fa 100644
---- a/base/containers/flat_tree.h
-+++ b/base/containers/flat_tree.h
-@@ -125,7 +125,7 @@ class flat_tree {
- // Assume that move assignment invalidates iterators and references.
-
- flat_tree& operator=(const flat_tree&);
-- flat_tree& operator=(flat_tree&&);
-+ flat_tree& operator=(flat_tree&&) noexcept;
- // Takes the first if there are duplicates in the initializer list.
- flat_tree& operator=(std::initializer_list<value_type> ilist);
-
-@@ -519,7 +519,7 @@ auto flat_tree<Key, Value, GetKeyFromValue, KeyCompare>::operator=(
-
- template <class Key, class Value, class GetKeyFromValue, class KeyCompare>
- auto flat_tree<Key, Value, GetKeyFromValue, KeyCompare>::operator=(flat_tree &&)
-- -> flat_tree& = default;
-+ noexcept -> flat_tree& = default;
-
- template <class Key, class Value, class GetKeyFromValue, class KeyCompare>
- auto flat_tree<Key, Value, GetKeyFromValue, KeyCompare>::operator=(
diff --git a/www-client/chromium/files/chromium-84-gcc-template.patch b/www-client/chromium/files/chromium-84-gcc-template.patch
deleted file mode 100644
index 15875109d755..000000000000
--- a/www-client/chromium/files/chromium-84-gcc-template.patch
+++ /dev/null
@@ -1,146 +0,0 @@
-From 2cd1ba11c364fc0f2f06c5fa3c15ff75ee860966 Mon Sep 17 00:00:00 2001
-From: Stephan Hartmann <stha09@googlemail.com>
-Date: Sat, 2 May 2020 16:42:38 +0000
-Subject: [PATCH] GCC: fix template specialization in WTF::VectorBuffer
-
-GCC complains that explicit specialization in non-namespace scope
-is happening for InitInlinedBuffer. However, specialization is
-not really necessary here with templates and can be moved
-into InitInlinedBuffer method without changing generated code.
----
- third_party/blink/renderer/platform/wtf/vector.h | 9 ++++-----
- 1 file changed, 4 insertions(+), 5 deletions(-)
-
-diff --git a/third_party/blink/renderer/platform/wtf/vector.h b/third_party/blink/renderer/platform/wtf/vector.h
-index 81a4e7b..30ffa89 100644
---- a/third_party/blink/renderer/platform/wtf/vector.h
-+++ b/third_party/blink/renderer/platform/wtf/vector.h
-@@ -950,11 +950,10 @@ class VectorBuffer : protected VectorBufferBase<T, Allocator> {
- return unsafe_reinterpret_cast_ptr<const T*>(inline_buffer_);
- }
-
-- template <bool = Allocator::kIsGarbageCollected>
-- void InitInlinedBuffer() {}
-- template <>
-- void InitInlinedBuffer<true>() {
-- memset(&inline_buffer_, 0, kInlineBufferSize);
-+ void InitInlinedBuffer() {
-+ if ( Allocator::kIsGarbageCollected ) {
-+ memset(&inline_buffer_, 0, kInlineBufferSize);
-+ }
- }
-
- alignas(T) char inline_buffer_[kInlineBufferSize];
---
-2.26.2
-From 421aca221966c7d736c4bc5f268a730199f02fb9 Mon Sep 17 00:00:00 2001
-From: Stephan Hartmann <stha09@googlemail.com>
-Date: Sat, 9 May 2020 14:59:07 +0000
-Subject: [PATCH] GCC: fix template specialization in TraceInCollectionTrait
-
-GCC complains that explicit specialization in non-namespace scope
-is happening for TraceImpl. Move TraceImpl implementations into
-different nested classes and select implementation using
-std::conditional.
----
- .../heap_hash_table_backing.h | 80 ++++++++++---------
- 1 file changed, 41 insertions(+), 39 deletions(-)
-
-diff --git a/third_party/blink/renderer/platform/heap/collection_support/heap_hash_table_backing.h b/third_party/blink/renderer/platform/heap/collection_support/heap_hash_table_backing.h
-index a6c73f5..068ab8e 100644
---- a/third_party/blink/renderer/platform/heap/collection_support/heap_hash_table_backing.h
-+++ b/third_party/blink/renderer/platform/heap/collection_support/heap_hash_table_backing.h
-@@ -241,50 +241,52 @@ struct TraceInCollectionTrait<kNoWeakHandling,
-
- static void Trace(blink::Visitor* visitor,
- const KeyValuePair<Key, Value>& self) {
-- TraceImpl(visitor, self);
-+ TraceImpl::TraceImpl(visitor, self);
- }
-
- private:
-- template <bool = EphemeronHelper::is_ephemeron>
-- static void TraceImpl(blink::Visitor* visitor,
-- const KeyValuePair<Key, Value>& self);
--
-- // Strongification of ephemerons, i.e., Weak/Strong and Strong/Weak.
-- template <>
-- static void TraceImpl<true>(blink::Visitor* visitor,
-- const KeyValuePair<Key, Value>& self) {
-+ struct TraceImplEphemerons {
- // Strongification of ephemerons, i.e., Weak/Strong and Strong/Weak.
-- // The helper ensures that helper.key always refers to the weak part and
-- // helper.value always refers to the dependent part.
-- // We distinguish ephemeron from Weak/Weak and Strong/Strong to allow users
-- // to override visitation behavior. An example is creating a heap snapshot,
-- // where it is useful to annotate values as being kept alive from keys
-- // rather than the table.
-- EphemeronHelper helper(&self.key, &self.value);
-- // Strongify the weak part.
-- blink::TraceCollectionIfEnabled<
-- kNoWeakHandling, typename EphemeronHelper::KeyType,
-- typename EphemeronHelper::KeyTraits>::Trace(visitor, helper.key);
-- // Strongify the dependent part.
-- visitor->TraceEphemeron(
-- *helper.key, helper.value,
-- blink::TraceCollectionIfEnabled<
-- kNoWeakHandling, typename EphemeronHelper::ValueType,
-- typename EphemeronHelper::ValueTraits>::Trace);
-- }
-+ static void TraceImpl(blink::Visitor* visitor,
-+ const KeyValuePair<Key, Value>& self) {
-+ // Strongification of ephemerons, i.e., Weak/Strong and Strong/Weak.
-+ // The helper ensures that helper.key always refers to the weak part and
-+ // helper.value always refers to the dependent part.
-+ // We distinguish ephemeron from Weak/Weak and Strong/Strong to allow users
-+ // to override visitation behavior. An example is creating a heap snapshot,
-+ // where it is useful to annotate values as being kept alive from keys
-+ // rather than the table.
-+ EphemeronHelper helper(&self.key, &self.value);
-+ // Strongify the weak part.
-+ blink::TraceCollectionIfEnabled<
-+ kNoWeakHandling, typename EphemeronHelper::KeyType,
-+ typename EphemeronHelper::KeyTraits>::Trace(visitor, helper.key);
-+ // Strongify the dependent part.
-+ visitor->TraceEphemeron(
-+ *helper.key, helper.value,
-+ blink::TraceCollectionIfEnabled<
-+ kNoWeakHandling, typename EphemeronHelper::ValueType,
-+ typename EphemeronHelper::ValueTraits>::Trace);
-+ }
-+ };
-
-- template <>
-- static void TraceImpl<false>(blink::Visitor* visitor,
-- const KeyValuePair<Key, Value>& self) {
-- // Strongification of non-ephemeron KVP, i.e., Strong/Strong or Weak/Weak.
-- // Order does not matter here.
-- blink::TraceCollectionIfEnabled<
-- kNoWeakHandling, Key, typename Traits::KeyTraits>::Trace(visitor,
-- &self.key);
-- blink::TraceCollectionIfEnabled<
-- kNoWeakHandling, Value,
-- typename Traits::ValueTraits>::Trace(visitor, &self.value);
-- }
-+ struct TraceImplDefault {
-+ static void TraceImpl(blink::Visitor* visitor,
-+ const KeyValuePair<Key, Value>& self) {
-+ // Strongification of non-ephemeron KVP, i.e., Strong/Strong or Weak/Weak.
-+ // Order does not matter here.
-+ blink::TraceCollectionIfEnabled<
-+ kNoWeakHandling, Key, typename Traits::KeyTraits>::Trace(visitor,
-+ &self.key);
-+ blink::TraceCollectionIfEnabled<
-+ kNoWeakHandling, Value,
-+ typename Traits::ValueTraits>::Trace(visitor, &self.value);
-+ }
-+ };
-+
-+ using TraceImpl = typename std::conditional<EphemeronHelper::is_ephemeron,
-+ TraceImplEphemerons,
-+ TraceImplDefault>::type;
- };
-
- template <typename Key, typename Value, typename Traits>
---
-2.26.2
diff --git a/www-client/chromium/files/chromium-84-gcc-unique_ptr.patch b/www-client/chromium/files/chromium-84-gcc-unique_ptr.patch
deleted file mode 100644
index 4fa443bb66ad..000000000000
--- a/www-client/chromium/files/chromium-84-gcc-unique_ptr.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 9b749dc5c7fdb0f4b1bd0df5901beb6af1b81ff1 Mon Sep 17 00:00:00 2001
-From: Stephan Hartmann <stha09@googlemail.com>
-Date: Sat, 9 May 2020 16:46:07 +0000
-Subject: [PATCH] GCC: fix DCHECK_EQ in NGInlineNode::SegmentScriptRuns
-
-data->segments is a std::unique_ptr, but underlying CheckOpValueStr
-has no overloaded function for std::unique_ptr.
-However, overloaded function with const void* exists and can be
-used with std::unique_ptr::get().
----
- .../blink/renderer/core/layout/ng/inline/ng_inline_node.cc | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/third_party/blink/renderer/core/layout/ng/inline/ng_inline_node.cc b/third_party/blink/renderer/core/layout/ng/inline/ng_inline_node.cc
-index 55ca9e3..ee691df 100644
---- a/third_party/blink/renderer/core/layout/ng/inline/ng_inline_node.cc
-+++ b/third_party/blink/renderer/core/layout/ng/inline/ng_inline_node.cc
-@@ -891,7 +891,7 @@ void NGInlineNode::SegmentText(NGInlineNodeData* data) {
-
- // Segment NGInlineItem by script, Emoji, and orientation using RunSegmenter.
- void NGInlineNode::SegmentScriptRuns(NGInlineNodeData* data) {
-- DCHECK_EQ(data->segments, nullptr);
-+ DCHECK_EQ(data->segments.get(), nullptr);
-
- String& text_content = data->text_content;
- if (text_content.IsEmpty()) {
---
-2.26.2
-
diff --git a/www-client/chromium/files/chromium-84-template.patch b/www-client/chromium/files/chromium-84-template.patch
deleted file mode 100644
index 73d277560b19..000000000000
--- a/www-client/chromium/files/chromium-84-template.patch
+++ /dev/null
@@ -1,80 +0,0 @@
-From 7ea92bc4f0cbdf68bf8e04b18f560aece9666e9e Mon Sep 17 00:00:00 2001
-From: Hans Wennborg <hans@chromium.org>
-Date: Tue, 05 May 2020 18:23:40 +0000
-Subject: [PATCH] De-templatize ContentSettingsAgentImpl::GetContentSettingFromRules
-
-The template definition was not in the header, so callers from outside
-content_settings_agent_impl.cc could not instantiate the template,
-leading to link errors in some configs (see bug).
-
-Instead, provide overloads for the two types of URL parameter, and
-use a template internally (in the .cc file) as it was before
-crrev.com/759360.
-
-Bug: 1077605
-Change-Id: I5c6f1e60ab694d60f7c20ce77a435a1b03e32e08
-Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2181364
-Commit-Queue: Hans Wennborg <hans@chromium.org>
-Commit-Queue: Nico Weber <thakis@chromium.org>
-Reviewed-by: Clark DuVall <cduvall@chromium.org>
-Reviewed-by: Nico Weber <thakis@chromium.org>
-Reviewed-by: Balazs Engedy <engedy@chromium.org>
-Auto-Submit: Hans Wennborg <hans@chromium.org>
-Cr-Commit-Position: refs/heads/master@{#765660}
----
-
-diff --git a/components/content_settings/renderer/content_settings_agent_impl.cc b/components/content_settings/renderer/content_settings_agent_impl.cc
-index ffb225a..4e24dc5 100644
---- a/components/content_settings/renderer/content_settings_agent_impl.cc
-+++ b/components/content_settings/renderer/content_settings_agent_impl.cc
-@@ -169,7 +169,7 @@
- }
-
- template <typename URL>
--ContentSetting ContentSettingsAgentImpl::GetContentSettingFromRules(
-+ContentSetting GetContentSettingFromRulesImpl(
- const ContentSettingsForOneType& rules,
- const WebFrame* frame,
- const URL& secondary_url) {
-@@ -192,6 +192,20 @@
- return CONTENT_SETTING_DEFAULT;
- }
-
-+ContentSetting ContentSettingsAgentImpl::GetContentSettingFromRules(
-+ const ContentSettingsForOneType& rules,
-+ const WebFrame* frame,
-+ const GURL& secondary_url) {
-+ return GetContentSettingFromRulesImpl(rules, frame, secondary_url);
-+}
-+
-+ContentSetting ContentSettingsAgentImpl::GetContentSettingFromRules(
-+ const ContentSettingsForOneType& rules,
-+ const WebFrame* frame,
-+ const blink::WebURL& secondary_url) {
-+ return GetContentSettingFromRulesImpl(rules, frame, secondary_url);
-+}
-+
- void ContentSettingsAgentImpl::BindContentSettingsManager(
- mojo::Remote<mojom::ContentSettingsManager>* manager) {
- DCHECK(!*manager);
-diff --git a/components/content_settings/renderer/content_settings_agent_impl.h b/components/content_settings/renderer/content_settings_agent_impl.h
-index b14acfe..2522fdb 100644
---- a/components/content_settings/renderer/content_settings_agent_impl.h
-+++ b/components/content_settings/renderer/content_settings_agent_impl.h
-@@ -116,11 +116,14 @@
-
- // Allow passing both WebURL and GURL here, so that we can early return
- // without allocating a new backing string if only the default rule matches.
-- template <typename URL>
- ContentSetting GetContentSettingFromRules(
- const ContentSettingsForOneType& rules,
- const blink::WebFrame* frame,
-- const URL& secondary_url);
-+ const GURL& secondary_url);
-+ ContentSetting GetContentSettingFromRules(
-+ const ContentSettingsForOneType& rules,
-+ const blink::WebFrame* frame,
-+ const blink::WebURL& secondary_url);
-
- protected:
- // Allow this to be overridden by tests.