$ git diff --patch-with-stat --summary ab5b95bac155d2976e4b9c144fc12397df8cd9fe..c198114d372489011d34fd0825d4e4eef5760e15
.abf.yml | 2 +-
...-b794998819088f76b4cf44c8db6940240c563cf4.patch | 19 ---
chromium-69-no-static-libstdc++.patch | 12 +-
chromium-75.0.3770.80-SIOCGSTAMP.patch | 8 +-
chromium-75.0.3770.80-revert-daff6b.patch | 13 --
...mium-78.0.3904.70-vtable-symbol-undefined.patch | 11 --
chromium-79.0.3945.56-fix-find_if.patch | 14 +-
chromium-83-compile.patch | 187 ---------------------
chromium-84-compile.patch | 90 ++++++++++
chromium-browser-beta.spec | 29 ++--
chromium-drirc-disable-10bpc-color-configs.conf | 2 +-
vdpau-support.patch | 44 ++---
12 files changed, 146 insertions(+), 285 deletions(-)
delete mode 100644 chromium-58.0.3029.96-revert-b794998819088f76b4cf44c8db6940240c563cf4.patch
delete mode 100644 chromium-75.0.3770.80-revert-daff6b.patch
delete mode 100644 chromium-83-compile.patch
create mode 100644 chromium-84-compile.patch
diff --git a/.abf.yml b/.abf.yml
index 2e09a2d..2dd24e2 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
sources:
- chromium-83.0.4103.14.tar.xz: ad0908a7ff49be5723ccb955ad8b2251eedc16b2
+ chromium-85.0.4183.49.tar.xz: 1e29e0e47ac93413957e1a67094aa576acfa5b49
diff --git a/chromium-58.0.3029.96-revert-b794998819088f76b4cf44c8db6940240c563cf4.patch b/chromium-58.0.3029.96-revert-b794998819088f76b4cf44c8db6940240c563cf4.patch
deleted file mode 100644
index ddb94a0..0000000
--- a/chromium-58.0.3029.96-revert-b794998819088f76b4cf44c8db6940240c563cf4.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -up chromium-58.0.3029.96/ui/events/devices/x11/device_data_manager_x11.cc.revert chromium-58.0.3029.96/ui/events/devices/x11/device_data_manager_x11.cc
---- chromium-58.0.3029.96/ui/events/devices/x11/device_data_manager_x11.cc.revert 2017-05-08 14:58:11.767482431 -0400
-+++ chromium-58.0.3029.96/ui/events/devices/x11/device_data_manager_x11.cc 2017-05-08 14:58:37.722960109 -0400
-@@ -790,15 +790,6 @@ void DeviceDataManagerX11::UpdateScrollC
- DCHECK(deviceid >= 0 && deviceid < kMaxDeviceNum);
- ScrollInfo& info = scroll_data_[deviceid];
-
-- bool legacy_scroll_available =
-- (scroll_class_info->flags & XIScrollFlagNoEmulation) == 0;
-- // If the device's highest resolution is lower than the resolution of xinput1
-- // then use xinput1's events instead (ie. don't configure smooth scrolling).
-- if (legacy_scroll_available &&
-- std::abs(scroll_class_info->increment) <= 1.0) {
-- return;
-- }
--
- switch (scroll_class_info->scroll_type) {
- case XIScrollTypeVertical:
- info.vertical.number = scroll_class_info->number;
diff --git a/chromium-69-no-static-libstdc++.patch b/chromium-69-no-static-libstdc++.patch
index 21d9021..6c2196d 100644
--- a/chromium-69-no-static-libstdc++.patch
+++ b/chromium-69-no-static-libstdc++.patch
@@ -1,12 +1,12 @@
-diff -up chromium-79.0.3945.88/tools/gn/build/gen.py.41~ chromium-79.0.3945.88/tools/gn/build/gen.py
---- chromium-79.0.3945.88/tools/gn/build/gen.py.41~ 2019-12-23 23:08:34.915379587 +0100
-+++ chromium-79.0.3945.88/tools/gn/build/gen.py 2019-12-23 23:09:39.021376477 +0100
-@@ -96,7 +96,7 @@ def main(argv):
+diff -up chromium-84.0.4147.38/tools/gn/build/gen.py.30~ chromium-84.0.4147.38/tools/gn/build/gen.py
+--- chromium-84.0.4147.38/tools/gn/build/gen.py.30~ 2020-06-06 20:37:39.523170465 +0200
++++ chromium-84.0.4147.38/tools/gn/build/gen.py 2020-06-06 20:42:47.505925938 +0200
+@@ -105,7 +105,7 @@ def main(argv):
parser.add_option('--no-strip', action='store_true',
help='Don\'t strip release build. Useful for profiling.')
parser.add_option('--no-static-libstdc++', action='store_true',
- default=False, dest='no_static_libstdcpp',
+ default=True, dest='no_static_libstdcpp',
help='Don\'t link libstdc++ statically')
- options, args = parser.parse_args(argv)
-
+ parser.add_option('--link-lib',
+ action='append',
diff --git a/chromium-75.0.3770.80-SIOCGSTAMP.patch b/chromium-75.0.3770.80-SIOCGSTAMP.patch
index 0ef1e7f..7c0689b 100644
--- a/chromium-75.0.3770.80-SIOCGSTAMP.patch
+++ b/chromium-75.0.3770.80-SIOCGSTAMP.patch
@@ -1,6 +1,6 @@
-diff -up chromium-75.0.3770.80/third_party/webrtc/rtc_base/physical_socket_server.h.SIOCGSTAMP chromium-75.0.3770.80/third_party/webrtc/rtc_base/physical_socket_server.h
---- chromium-75.0.3770.80/third_party/webrtc/rtc_base/physical_socket_server.h.SIOCGSTAMP 2019-06-06 10:04:57.050403639 -0400
-+++ chromium-75.0.3770.80/third_party/webrtc/rtc_base/physical_socket_server.h 2019-06-06 10:06:03.975121688 -0400
+diff -up chromium-85.0.4164.2/third_party/webrtc/rtc_base/physical_socket_server.h.21~ chromium-85.0.4164.2/third_party/webrtc/rtc_base/physical_socket_server.h
+--- chromium-85.0.4164.2/third_party/webrtc/rtc_base/physical_socket_server.h.21~ 2020-06-06 21:46:54.580693608 +0200
++++ chromium-85.0.4164.2/third_party/webrtc/rtc_base/physical_socket_server.h 2020-06-06 22:45:32.047822449 +0200
@@ -16,6 +16,11 @@
#define WEBRTC_USE_EPOLL 1
#endif
@@ -10,6 +10,6 @@ diff -up chromium-75.0.3770.80/third_party/webrtc/rtc_base/physical_socket_serve
+#include <linux/sockios.h>
+#endif
+
+ #include <array>
#include <memory>
#include <set>
- #include <vector>
diff --git a/chromium-75.0.3770.80-revert-daff6b.patch b/chromium-75.0.3770.80-revert-daff6b.patch
deleted file mode 100644
index f996898..0000000
--- a/chromium-75.0.3770.80-revert-daff6b.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -up chromium-75.0.3770.80/components/omnibox/browser/autocomplete_match.cc.revert-daff6b chromium-75.0.3770.80/components/omnibox/browser/autocomplete_match.cc
---- chromium-75.0.3770.80/components/omnibox/browser/autocomplete_match.cc.revert-daff6b 2019-06-06 14:54:13.819190586 -0400
-+++ chromium-75.0.3770.80/components/omnibox/browser/autocomplete_match.cc 2019-06-06 14:54:31.892839991 -0400
-@@ -154,8 +154,7 @@ AutocompleteMatch::AutocompleteMatch(con
- additional_info(match.additional_info),
- duplicate_matches(match.duplicate_matches) {}
-
--AutocompleteMatch::AutocompleteMatch(AutocompleteMatch&& match) noexcept =
-- default;
-+AutocompleteMatch::AutocompleteMatch(AutocompleteMatch&& match) = default;
-
- AutocompleteMatch::~AutocompleteMatch() {
- }
diff --git a/chromium-78.0.3904.70-vtable-symbol-undefined.patch b/chromium-78.0.3904.70-vtable-symbol-undefined.patch
index 13751a2..e69de29 100644
--- a/chromium-78.0.3904.70-vtable-symbol-undefined.patch
+++ b/chromium-78.0.3904.70-vtable-symbol-undefined.patch
@@ -1,11 +0,0 @@
-diff -up chromium-78.0.3904.70/net/quic/platform/impl/quic_default_proof_providers_impl.cc.vtable-symbol-undefined chromium-78.0.3904.70/net/quic/platform/impl/quic_default_proof_providers_impl.cc
---- chromium-78.0.3904.70/net/quic/platform/impl/quic_default_proof_providers_impl.cc.vtable-symbol-undefined 2019-10-23 09:12:08.754351798 -0400
-+++ chromium-78.0.3904.70/net/quic/platform/impl/quic_default_proof_providers_impl.cc 2019-10-23 09:19:28.278431430 -0400
-@@ -18,6 +18,7 @@
- #include "net/quic/crypto/proof_verifier_chromium.h"
- #include "net/third_party/quiche/src/quic/platform/api/quic_flags.h"
- #include "net/third_party/quiche/src/quic/platform/api/quic_ptr_util.h"
-+#include "net/quic/platform/impl/quic_flags_impl.cc"
-
- DEFINE_QUIC_COMMAND_LINE_FLAG(
- bool,
diff --git a/chromium-79.0.3945.56-fix-find_if.patch b/chromium-79.0.3945.56-fix-find_if.patch
index b1eac4f..913941e 100644
--- a/chromium-79.0.3945.56-fix-find_if.patch
+++ b/chromium-79.0.3945.56-fix-find_if.patch
@@ -1,11 +1,11 @@
-diff -up chromium-79.0.3945.56/ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h.fix-find_if chromium-79.0.3945.56/ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h
---- chromium-79.0.3945.56/ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h.fix-find_if 2019-12-03 15:32:07.315635750 -0500
-+++ chromium-79.0.3945.56/ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h 2019-12-03 15:32:33.085054770 -0500
-@@ -5,6 +5,7 @@
- #ifndef UI_BASE_CURSOR_OZONE_BITMAP_CURSOR_FACTORY_OZONE_H_
- #define UI_BASE_CURSOR_OZONE_BITMAP_CURSOR_FACTORY_OZONE_H_
+diff -up chromium-85.0.4164.2/ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h.20~ chromium-85.0.4164.2/ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h
+--- chromium-85.0.4164.2/ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h.20~ 2020-06-06 20:31:30.030944217 +0200
++++ chromium-85.0.4164.2/ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h 2020-06-06 20:35:09.657735090 +0200
+@@ -7,6 +7,7 @@
-+#include <algorithm>
#include <map>
+ #include <vector>
++#include <algorithm>
+ #include "base/component_export.h"
#include "base/macros.h"
diff --git a/chromium-83-compile.patch b/chromium-83-compile.patch
deleted file mode 100644
index 8a3c84e..0000000
--- a/chromium-83-compile.patch
+++ /dev/null
@@ -1,187 +0,0 @@
-diff -up chromium-83.0.4103.7/extensions/browser/install/crx_install_error.cc.omv~ chromium-83.0.4103.7/extensions/browser/install/crx_install_error.cc
---- chromium-83.0.4103.7/extensions/browser/install/crx_install_error.cc.omv~ 2020-04-15 02:00:04.125064921 +0200
-+++ chromium-83.0.4103.7/extensions/browser/install/crx_install_error.cc 2020-04-15 02:03:16.476574794 +0200
-@@ -76,10 +76,14 @@ bool CrxInstallError::IsCrxVerificationF
- return false;
- const SandboxedUnpackerFailureReason unpacker_failure_reason =
- sandbox_failure_detail();
-- return std::find(std::begin(kVerificationFailureReasons),
-+ for(int i=0; i<sizeof(kVerificationFailureReasons)/sizeof(SandboxedUnpackerFailureReason); i++)
-+ if(kVerificationFailureReasons[i] == unpacker_failure_reason)
-+ return true;
-+/* return std::find(std::begin(kVerificationFailureReasons),
- std::end(kVerificationFailureReasons),
- unpacker_failure_reason) !=
-- std::end(kVerificationFailureReasons);
-+ std::end(kVerificationFailureReasons); */
-+ return false;
- }
-
- } // namespace extensions
-diff -up chromium-83.0.4103.7/ui/gfx/linux/drm_util_linux.h.omv~ chromium-83.0.4103.7/ui/gfx/linux/drm_util_linux.h
---- chromium-83.0.4103.7/ui/gfx/linux/drm_util_linux.h.omv~ 2020-04-15 02:03:37.801631329 +0200
-+++ chromium-83.0.4103.7/ui/gfx/linux/drm_util_linux.h 2020-04-15 02:03:44.796649873 +0200
-@@ -6,6 +6,7 @@
- #define UI_GFX_LINUX_DRM_UTIL_LINUX_H_
-
- #include "ui/gfx/buffer_types.h"
-+#include <cstdint>
-
- namespace ui {
-
-diff -up chromium-83.0.4103.7/third_party/webrtc/call/rtx_receive_stream.h.omv~ chromium-83.0.4103.7/third_party/webrtc/call/rtx_receive_stream.h
---- chromium-83.0.4103.7/third_party/webrtc/call/rtx_receive_stream.h.omv~ 2020-04-15 22:28:18.663843345 +0200
-+++ chromium-83.0.4103.7/third_party/webrtc/call/rtx_receive_stream.h 2020-04-15 22:28:29.857944267 +0200
-@@ -12,6 +12,7 @@
- #define CALL_RTX_RECEIVE_STREAM_H_
-
- #include <map>
-+#include <cstdint>
-
- #include "call/rtp_packet_sink_interface.h"
-
-diff -up chromium-83.0.4103.7/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h.omv~ chromium-83.0.4103.7/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h
---- chromium-83.0.4103.7/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h.omv~ 2020-04-15 22:28:51.655140762 +0200
-+++ chromium-83.0.4103.7/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h 2020-04-15 22:28:54.212163813 +0200
-@@ -31,7 +31,7 @@ class ClockdriftDetector {
- private:
- std::array<int, 3> delay_history_;
- Level level_;
-- size_t stability_counter_;
-+ std::size_t stability_counter_;
- };
- } // namespace webrtc
-
-diff -up chromium-83.0.4103.7/base/strings/string16.h.omv~ chromium-83.0.4103.7/base/strings/string16.h
-diff -up chromium-83.0.4103.7/chrome/browser/performance_manager/graph/policies/background_tab_loading_policy_helpers.cc.omv~ chromium-83.0.4103.7/chrome/browser/performance_manager/graph/policies/background_tab_loading_policy_helpers.cc
---- chromium-83.0.4103.7/chrome/browser/performance_manager/graph/policies/background_tab_loading_policy_helpers.cc.omv~ 2020-04-16 01:08:39.294191150 +0200
-+++ chromium-83.0.4103.7/chrome/browser/performance_manager/graph/policies/background_tab_loading_policy_helpers.cc 2020-04-16 01:09:05.740103071 +0200
-@@ -2,6 +2,7 @@
- // Use of this source code is governed by a BSD-style license that can be
- // found in the LICENSE file.
-
-+#include <limits>
- #include "chrome/browser/performance_manager/graph/policies/background_tab_loading_policy_helpers.h"
- #include "base/logging.h"
-
-diff -up chromium-83.0.4103.7/chrome/browser/search/background/ntp_backgrounds.h.omv~ chromium-83.0.4103.7/chrome/browser/search/background/ntp_backgrounds.h
---- chromium-83.0.4103.7/chrome/browser/search/background/ntp_backgrounds.h.omv~ 2020-04-16 01:09:41.383772340 +0200
-+++ chromium-83.0.4103.7/chrome/browser/search/background/ntp_backgrounds.h 2020-04-16 01:09:45.235637089 +0200
-@@ -9,7 +9,7 @@
-
- class GURL;
-
--const size_t kNtpBackgroundsCount = 5;
-+const std::size_t kNtpBackgroundsCount = 5;
- std::array<GURL, kNtpBackgroundsCount> GetNtpBackgrounds();
-
- #endif // CHROME_BROWSER_SEARCH_BACKGROUND_NTP_BACKGROUNDS_H_
-diff -up chromium-83.0.4103.7/components/printing/common/print_messages.cc.omv~ chromium-83.0.4103.7/components/printing/common/print_messages.cc
-diff -up chromium-83.0.4103.7/printing/common/metafile_utils.h.omv~ chromium-83.0.4103.7/printing/common/metafile_utils.h
---- chromium-83.0.4103.7/printing/common/metafile_utils.h.omv~ 2020-04-15 23:48:52.005519519 +0200
-+++ chromium-83.0.4103.7/printing/common/metafile_utils.h 2020-04-15 23:49:03.044638136 +0200
-@@ -14,6 +14,7 @@
- #include "third_party/skia/include/core/SkRefCnt.h"
- #include "third_party/skia/include/core/SkSerialProcs.h"
- #include "third_party/skia/include/core/SkStream.h"
-+#include "ui/accessibility/ax_tree.h"
- #include "ui/accessibility/ax_tree_update_forward.h"
-
- namespace printing {
-diff -up chromium-83.0.4103.7/third_party/blink/public/common/user_agent/user_agent_metadata.h.omv~ chromium-83.0.4103.7/third_party/blink/public/common/user_agent/user_agent_metadata.h
---- chromium-83.0.4103.7/third_party/blink/public/common/user_agent/user_agent_metadata.h.omv~ 2020-04-16 02:35:12.287975120 +0200
-+++ chromium-83.0.4103.7/third_party/blink/public/common/user_agent/user_agent_metadata.h 2020-04-16 02:35:17.575562336 +0200
-@@ -5,6 +5,7 @@
- #ifndef THIRD_PARTY_BLINK_PUBLIC_COMMON_USER_AGENT_USER_AGENT_METADATA_H_
- #define THIRD_PARTY_BLINK_PUBLIC_COMMON_USER_AGENT_USER_AGENT_METADATA_H_
-
-+#include <iterator>
- #include <string>
-
- #include "base/optional.h"
-diff -up chromium-83.0.4103.7/third_party/blink/renderer/bindings/core/v8/serialization/serialized_script_value.h.omv~ chromium-83.0.4103.7/third_party/blink/renderer/bindings/core/v8/serialization/serialized_script_value.h
---- chromium-83.0.4103.7/third_party/blink/renderer/bindings/core/v8/serialization/serialized_script_value.h.omv~ 2020-04-16 17:42:21.913168530 +0200
-+++ chromium-83.0.4103.7/third_party/blink/renderer/bindings/core/v8/serialization/serialized_script_value.h 2020-04-16 17:44:07.175860076 +0200
-@@ -270,10 +270,14 @@ class CORE_EXPORT SerializedScriptValue
- bool IsLockedToAgentCluster() const {
- return !wasm_modules_.IsEmpty() ||
- !shared_array_buffers_contents_.IsEmpty() ||
-+#if 0 // FIXME
- std::any_of(attachments_.begin(), attachments_.end(),
- [](const auto& entry) {
- return entry.value->IsLockedToAgentCluster();
- });
-+#else
-+ 0;
-+#endif
- }
-
- // Returns true after serializing script values that remote origins cannot
-diff -up chromium-83.0.4103.7/third_party/blink/renderer/core/html/trust_token_attribute_parsing.h.omv~ chromium-83.0.4103.7/third_party/blink/renderer/core/html/trust_token_attribute_parsing.h
---- chromium-83.0.4103.7/third_party/blink/renderer/core/html/trust_token_attribute_parsing.h.omv~ 2020-04-16 19:39:30.411760144 +0200
-+++ chromium-83.0.4103.7/third_party/blink/renderer/core/html/trust_token_attribute_parsing.h 2020-04-16 19:39:36.263974228 +0200
-@@ -5,6 +5,7 @@
- #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_HTML_TRUST_TOKEN_ATTRIBUTE_PARSING_H_
- #define THIRD_PARTY_BLINK_RENDERER_CORE_HTML_TRUST_TOKEN_ATTRIBUTE_PARSING_H_
-
-+#include <memory>
- #include "base/optional.h"
- #include "services/network/public/mojom/trust_tokens.mojom-blink-forward.h"
- #include "third_party/blink/renderer/core/core_export.h"
-diff -up chromium-83.0.4103.7/third_party/blink/renderer/core/layout/ng/ng_physical_container_fragment.cc.omv~ chromium-83.0.4103.7/third_party/blink/renderer/core/layout/ng/ng_physical_container_fragment.cc
---- chromium-83.0.4103.7/third_party/blink/renderer/core/layout/ng/ng_physical_container_fragment.cc.omv~ 2020-04-16 21:07:13.133570379 +0200
-+++ chromium-83.0.4103.7/third_party/blink/renderer/core/layout/ng/ng_physical_container_fragment.cc 2020-04-16 21:07:23.805265954 +0200
-@@ -112,6 +112,7 @@ void NGPhysicalContainerFragment::AddOut
- }
- DCHECK(item.IsText());
- }
-+#if 0
- // Don't add |Children()|. If |this| has |NGFragmentItems|, children are
- // either line box, which we already handled in items, or OOF, which we
- // should ignore.
-@@ -120,6 +121,7 @@ void NGPhysicalContainerFragment::AddOut
- return child->IsLineBox() ||
- child->IsOutOfFlowPositioned();
- }));
-+#endif
- return;
- }
- }
-diff -up chromium-83.0.4103.7/ui/accessibility/ax_tree.cc.omv~ chromium-83.0.4103.7/ui/accessibility/ax_tree.cc
---- chromium-83.0.4103.7/ui/accessibility/ax_tree.cc.omv~ 2020-04-15 23:52:11.058657504 +0200
-+++ chromium-83.0.4103.7/ui/accessibility/ax_tree.cc 2020-04-15 23:52:24.700803972 +0200
-@@ -567,15 +567,6 @@ struct AXTreeUpdateState {
- const AXTree& tree;
- };
-
--struct AXTree::NodeSetSizePosInSetInfo {
-- NodeSetSizePosInSetInfo() = default;
-- ~NodeSetSizePosInSetInfo() = default;
--
-- int32_t pos_in_set = 0;
-- int32_t set_size = 0;
-- base::Optional<int> lowest_hierarchical_level;
--};
--
- struct AXTree::OrderedSetContent {
- explicit OrderedSetContent(const AXNode* ordered_set = nullptr)
- : ordered_set_(ordered_set) {}
-diff -up chromium-83.0.4103.7/ui/accessibility/ax_tree.h.omv~ chromium-83.0.4103.7/ui/accessibility/ax_tree.h
---- chromium-83.0.4103.7/ui/accessibility/ax_tree.h.omv~ 2020-04-15 23:51:24.248154880 +0200
-+++ chromium-83.0.4103.7/ui/accessibility/ax_tree.h 2020-04-15 23:53:28.242486088 +0200
-@@ -328,7 +328,14 @@ class AX_EXPORT AXTree : public AXNode::
- bool enable_extra_mac_nodes_ = false;
-
- // Contains pos_in_set and set_size data for an AXNode.
-- struct NodeSetSizePosInSetInfo;
-+ struct NodeSetSizePosInSetInfo {
-+ NodeSetSizePosInSetInfo() = default;
-+ ~NodeSetSizePosInSetInfo() = default;
-+
-+ int32_t pos_in_set = 0;
-+ int32_t set_size = 0;
-+ base::Optional<int> lowest_hierarchical_level;
-+ };
-
- // Represents the content of an ordered set which includes the ordered set
- // items and the ordered set container if it exists.
diff --git a/chromium-84-compile.patch b/chromium-84-compile.patch
new file mode 100644
index 0000000..adb1fa9
--- /dev/null
+++ b/chromium-84-compile.patch
@@ -0,0 +1,90 @@
+diff -up chromium-84.0.4147.38/cc/base/list_container_helper.h.omv~ chromium-84.0.4147.38/cc/base/list_container_helper.h
+--- chromium-84.0.4147.38/cc/base/list_container_helper.h.omv~ 2020-06-07 01:12:11.313556607 +0200
++++ chromium-84.0.4147.38/cc/base/list_container_helper.h 2020-06-07 01:12:17.661637603 +0200
+@@ -8,6 +8,7 @@
+ #include <stddef.h>
+
+ #include <memory>
++#include <cstring>
+
+ #include "cc/base/base_export.h"
+
+diff -up chromium-84.0.4147.38/third_party/crashpad/crashpad/snapshot/minidump/minidump_context_converter.cc.omv~ chromium-84.0.4147.38/third_party/crashpad/crashpad/snapshot/minidump/minidump_context_converter.cc
+--- chromium-84.0.4147.38/third_party/crashpad/crashpad/snapshot/minidump/minidump_context_converter.cc.omv~ 2020-06-07 01:12:58.624149554 +0200
++++ chromium-84.0.4147.38/third_party/crashpad/crashpad/snapshot/minidump/minidump_context_converter.cc 2020-06-07 01:13:05.710236305 +0200
+@@ -17,6 +17,8 @@
+ #include "base/stl_util.h"
+ #include "minidump/minidump_context.h"
+
++#include <cstring>
++
+ namespace crashpad {
+ namespace internal {
+
+diff -up chromium-84.0.4147.38/third_party/crashpad/crashpad/util/linux/ptrace_client.cc.omv~ chromium-84.0.4147.38/third_party/crashpad/crashpad/util/linux/ptrace_client.cc
+--- chromium-84.0.4147.38/third_party/crashpad/crashpad/util/linux/ptrace_client.cc.omv~ 2020-06-07 01:17:27.739135789 +0200
++++ chromium-84.0.4147.38/third_party/crashpad/crashpad/util/linux/ptrace_client.cc 2020-06-07 01:17:33.895197878 +0200
+@@ -18,6 +18,7 @@
+ #include <stdio.h>
+
+ #include <string>
++#include <cstring>
+
+ #include "base/logging.h"
+ #include "base/stl_util.h"
+diff -up chromium-84.0.4147.38/third_party/crashpad/crashpad/util/net/http_multipart_builder.cc.omv~ chromium-84.0.4147.38/third_party/crashpad/crashpad/util/net/http_multipart_builder.cc
+--- chromium-84.0.4147.38/third_party/crashpad/crashpad/util/net/http_multipart_builder.cc.omv~ 2020-06-07 01:14:20.813125474 +0200
++++ chromium-84.0.4147.38/third_party/crashpad/crashpad/util/net/http_multipart_builder.cc 2020-06-07 01:14:28.328211572 +0200
+@@ -16,6 +16,7 @@
+
+ #include <sys/types.h>
+
++#include <cstring>
+ #include <utility>
+ #include <vector>
+
+diff -up chromium-84.0.4147.38/third_party/crashpad/crashpad/util/net/http_transport_socket.cc.omv~ chromium-84.0.4147.38/third_party/crashpad/crashpad/util/net/http_transport_socket.cc
+--- chromium-84.0.4147.38/third_party/crashpad/crashpad/util/net/http_transport_socket.cc.omv~ 2020-06-07 01:15:26.893866213 +0200
++++ chromium-84.0.4147.38/third_party/crashpad/crashpad/util/net/http_transport_socket.cc 2020-06-07 01:15:39.648005127 +0200
+@@ -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 -up chromium-84.0.4147.38/third_party/crashpad/crashpad/util/process/process_memory.cc.omv~ chromium-84.0.4147.38/third_party/crashpad/crashpad/util/process/process_memory.cc
+--- chromium-84.0.4147.38/third_party/crashpad/crashpad/util/process/process_memory.cc.omv~ 2020-06-07 01:20:04.537651610 +0200
++++ chromium-84.0.4147.38/third_party/crashpad/crashpad/util/process/process_memory.cc 2020-06-07 01:20:13.332732998 +0200
+@@ -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 -up chromium-84.0.4147.38/third_party/crashpad/crashpad/util/stream/log_output_stream.cc.omv~ chromium-84.0.4147.38/third_party/crashpad/crashpad/util/stream/log_output_stream.cc
+--- chromium-84.0.4147.38/third_party/crashpad/crashpad/util/stream/log_output_stream.cc.omv~ 2020-06-07 01:18:49.447941863 +0200
++++ chromium-84.0.4147.38/third_party/crashpad/crashpad/util/stream/log_output_stream.cc 2020-06-07 01:18:57.321017588 +0200
+@@ -15,6 +15,7 @@
+ #include "util/stream/log_output_stream.h"
+
+ #include <algorithm>
++#include <cstring>
+
+ #include "base/logging.h"
+
+diff -up chromium-84.0.4147.38/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h.omv~ chromium-84.0.4147.38/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h
+--- chromium-84.0.4147.38/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h.omv~ 2020-06-07 01:08:00.747415156 +0200
++++ chromium-84.0.4147.38/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h 2020-06-07 01:10:22.962098318 +0200
+@@ -12,6 +12,7 @@
+ #define MODULES_AUDIO_PROCESSING_AEC3_CLOCKDRIFT_DETECTOR_H_
+
+ #include <array>
++#include <cstring>
+
+ namespace webrtc {
+
diff --git a/chromium-browser-beta.spec b/chromium-browser-beta.spec
index 0e864e7..5ac7938 100644
--- a/chromium-browser-beta.spec
+++ b/chromium-browser-beta.spec
@@ -38,8 +38,9 @@
# Temporarily broken, cr_z_* symbols used even when we're supposed to use system minizip
%bcond_without system_minizip
# chromium 58 fails with system vpx 1.6.1
-%bcond_without system_vpx
-%bcond_without system_re2
+%bcond_with system_vpx
+# system re2 doesn't work with custom libcxx
+%bcond_with system_re2
# Always support proprietary codecs
# or html5 does not work
@@ -51,7 +52,7 @@
Name: chromium-browser-%{channel}
# Working version numbers can be found at
# http://omahaproxy.appspot.com/
-Version: 83.0.4103.14
+Version: 85.0.4183.49
Release: 1%{?extrarelsuffix}
Summary: A fast webkit-based web browser
Group: Networking/WWW
@@ -73,10 +74,6 @@ Patch0: https://src.fedoraproject.org/rpms/chromium/raw/master/f/chromium-70.0.
Patch1: https://src.fedoraproject.org/rpms/chromium/raw/master/f/chromium-68.0.3440.106-master-prefs-path.patch
# Use gn system files
Patch2: https://src.fedoraproject.org/rpms/chromium/raw/master/f/chromium-67.0.3396.62-gn-system.patch
-# Revert https://chromium.googlesource.com/chromium/src/+/b794998819088f76b4cf44c8db6940240c563cf4%5E%21/#F0
-# https://bugs.chromium.org/p/chromium/issues/detail?id=712737
-# https://bugzilla.redhat.com/show_bug.cgi?id=1446851
-Patch3: https://src.fedoraproject.org/rpms/chromium/raw/master/f/chromium-58.0.3029.96-revert-b794998819088f76b4cf44c8db6940240c563cf4.patch
# Do not prefix libpng functions
Patch4: https://src.fedoraproject.org/rpms/chromium/raw/master/f/chromium-60.0.3112.78-no-libpng-prefix.patch
# Do not mangle libjpeg
@@ -114,7 +111,7 @@ Patch57: https://src.fedoraproject.org/rpms/chromium/raw/master/f/chromium-78-pr
# https://gitweb.gentoo.org/repo/gentoo.git/plain/www-client/chromium/files/chromium-77-clang.patch
Patch59: https://src.fedoraproject.org/rpms/chromium/raw/master/f/chromium-77-clang.patch
# /../../ui/base/cursor/ozone/bitmap_cursor_factory_ozone.cc:53:15: error: 'find_if' is not a member of 'std'; did you mean 'find'?
-Patch63: https://src.fedoraproject.org/rpms/chromium/raw/master/f/chromium-79.0.3945.56-fix-find_if.patch
+#Patch63: https://src.fedoraproject.org/rpms/chromium/raw/master/f/chromium-79.0.3945.56-fix-find_if.patch
# Use lstdc++ on EPEL7 only
@@ -125,7 +122,6 @@ Patch63: https://src.fedoraproject.org/rpms/chromium/raw/master/f/chromium-79.0.
# Apply these patches to work around EPEL8 issues
#Patch300: https://src.fedoraproject.org/rpms/chromium/raw/master/f/chromium-76.0.3809.132-rhel8-force-disable-use_gnome_keyring.patch
-Patch500: https://src.fedoraproject.org/rpms/chromium/raw/master/f/chromium-75.0.3770.80-revert-daff6b.patch
Patch501: https://src.fedoraproject.org/rpms/chromium/raw/master/f/chromium-75.0.3770.80-SIOCGSTAMP.patch
### Chromium Tests Patches ###
@@ -149,7 +145,6 @@ Patch1001: chromium-64-system-curl.patch
Patch1002: chromium-69-no-static-libstdc++.patch
Patch1003: chromium-83-norar.patch
#Patch1004: chromium-80-clang10-libstdc++10.patch
-Patch1005: chromium-83-compile.patch
Patch1006: chromium-81-dont-pretend-vaapi-is-broken.patch
Patch1007: chromium-81-enable-gpu-features.patch
@@ -173,6 +168,7 @@ BuildRequires: pkgconfig(re2)
BuildRequires: pkgconfig(com_err)
BuildRequires: python2dist(json5)
BuildRequires: python2-pkg-resources
+BuildRequires: python2-xcbgen
BuildRequires: alsa-oss-devel
BuildRequires: atomic-devel
BuildRequires: harfbuzz-devel
@@ -390,6 +386,8 @@ python2 build/linux/unbundle/remove_bundled_libraries.py \
'third_party/devtools-frontend' \
'third_party/devtools-frontend/src/third_party/typescript' \
'third_party/devtools-frontend/src/third_party/axe-core' \
+ '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' \
'third_party/devtools-frontend/src/front_end/third_party/wasmparser' \
@@ -426,6 +424,7 @@ python2 build/linux/unbundle/remove_bundled_libraries.py \
'third_party/libaom' \
'third_party/libaom/source/libaom/third_party/vector' \
'third_party/libaom/source/libaom/third_party/x86inc' \
+ 'third_party/libavif' \
'third_party/libdrm' \
'third_party/libgifcodec' \
'third_party/libjingle' \
@@ -445,6 +444,7 @@ python2 build/linux/unbundle/remove_bundled_libraries.py \
'third_party/libxml/chromium' \
'third_party/libxslt' \
'third_party/libyuv' \
+ 'third_party/lottie' \
'third_party/lss' \
'third_party/lzma_sdk' \
'third_party/mako' \
@@ -461,7 +461,9 @@ python2 build/linux/unbundle/remove_bundled_libraries.py \
'third_party/one_euro_filter' \
'third_party/openh264' \
'third_party/openscreen' \
+ 'third_party/openscreen/src/third_party/mozilla' \
'third_party/openscreen/src/third_party/tinycbor' \
+ 'third_party/opencv' \
'third_party/opus' \
'third_party/ots' \
'third_party/pdfium' \
@@ -521,7 +523,7 @@ python2 build/linux/unbundle/remove_bundled_libraries.py \
'third_party/web-animations-js' \
'third_party/webdriver' \
'third_party/webrtc' \
- 'third_party/webrtc/common_audio/third_party/fft4g' \
+ 'third_party/webrtc/common_audio/third_party/ooura' \
'third_party/webrtc/common_audio/third_party/spl_sqrt_floor' \
'third_party/webrtc/modules/third_party/fft' \
'third_party/webrtc/modules/third_party/g711' \
@@ -530,8 +532,8 @@ python2 build/linux/unbundle/remove_bundled_libraries.py \
'third_party/webrtc/rtc_base/third_party/sigslot' \
'third_party/widevine' \
'third_party/woff2' \
+ 'third_party/xcbproto' \
'third_party/xdg-utils' \
- 'third_party/yasm' \
'third_party/zlib' \
'third_party/zlib/google' \
'tools/grit/third_party/six' \
@@ -581,7 +583,7 @@ export PATH=`pwd`:$PATH
CHROMIUM_CORE_GN_DEFINES="use_sysroot=false is_debug=false fieldtrial_testing_like_official_build=true use_lld=false use_gold=true"
CHROMIUM_CORE_GN_DEFINES+=" is_clang=true clang_base_path=\"%{_prefix}\" clang_use_chrome_plugins=false "
-CHROMIUM_CORE_GN_DEFINES+=" treat_warnings_as_errors=false use_custom_libcxx=false "
+CHROMIUM_CORE_GN_DEFINES+=" treat_warnings_as_errors=false use_custom_libcxx=true "
CHROMIUM_CORE_GN_DEFINES+=" use_system_libjpeg=true "
CHROMIUM_CORE_GN_DEFINES+=" use_system_lcms2=true "
CHROMIUM_CORE_GN_DEFINES+=" use_system_libpng=true "
@@ -653,7 +655,6 @@ gn_system_libraries="
libwebp
libxslt
snappy
- yasm
"
# libpng
# opus
diff --git a/chromium-drirc-disable-10bpc-color-configs.conf b/chromium-drirc-disable-10bpc-color-configs.conf
index c079ba1..75c34bf 100644
--- a/chromium-drirc-disable-10bpc-color-configs.conf
+++ b/chromium-drirc-disable-10bpc-color-configs.conf
@@ -11,7 +11,7 @@ https://bugs.freedesktop.org/show_bug.cgi?id=106490
<application name="Chromium" executable="chromium">
<option name="allow_rgb10_configs" value="false" />
</application>
- <application name="Chromium" executable="chromium-browser-stable">
+ <application name="Chromium" executable="chromium-browser-beta">
<option name="allow_rgb10_configs" value="false" />
</application>
<application name="Chromium" executable="chrome">
diff --git a/vdpau-support.patch b/vdpau-support.patch
index d0d849a..bb790c1 100644
--- a/vdpau-support.patch
+++ b/vdpau-support.patch
@@ -1,7 +1,7 @@
-diff -up chromium-81.0.4044.92/media/gpu/vaapi/vaapi_video_decode_accelerator.cc.28~ chromium-81.0.4044.92/media/gpu/vaapi/vaapi_video_decode_accelerator.cc
---- chromium-81.0.4044.92/media/gpu/vaapi/vaapi_video_decode_accelerator.cc.28~ 2020-04-03 06:11:34.000000000 +0200
-+++ chromium-81.0.4044.92/media/gpu/vaapi/vaapi_video_decode_accelerator.cc 2020-04-14 16:27:40.623165963 +0200
-@@ -712,6 +712,7 @@ void VaapiVideoDecodeAccelerator::Assign
+diff -up chromium-85.0.4181.8/media/gpu/vaapi/vaapi_video_decode_accelerator.cc.23~ chromium-85.0.4181.8/media/gpu/vaapi/vaapi_video_decode_accelerator.cc
+--- chromium-85.0.4181.8/media/gpu/vaapi/vaapi_video_decode_accelerator.cc.23~ 2020-06-25 11:31:32.000000000 +0200
++++ chromium-85.0.4181.8/media/gpu/vaapi/vaapi_video_decode_accelerator.cc 2020-07-04 17:22:15.088120828 +0200
+@@ -677,6 +677,7 @@ void VaapiVideoDecodeAccelerator::Assign
// |vpp_vaapi_wrapper_| for VaapiPicture to DownloadFromSurface() the VA's
// internal decoded frame.
if (buffer_allocation_mode_ != BufferAllocationMode::kNone &&
@@ -9,7 +9,7 @@ diff -up chromium-81.0.4044.92/media/gpu/vaapi/vaapi_video_decode_accelerator.cc
!vpp_vaapi_wrapper_) {
vpp_vaapi_wrapper_ = VaapiWrapper::Create(
VaapiWrapper::kVideoProcess, VAProfileNone,
-@@ -743,7 +744,8 @@ void VaapiVideoDecodeAccelerator::Assign
+@@ -708,7 +709,8 @@ void VaapiVideoDecodeAccelerator::Assign
: gfx::Size();
std::unique_ptr<VaapiPicture> picture = vaapi_picture_factory_->Create(
@@ -19,7 +19,7 @@ diff -up chromium-81.0.4044.92/media/gpu/vaapi/vaapi_video_decode_accelerator.cc
? vaapi_wrapper_
: vpp_vaapi_wrapper_,
make_context_current_cb_, bind_image_cb_, buffer, size_to_bind);
-@@ -1199,6 +1201,12 @@ VaapiVideoDecodeAccelerator::GetSupporte
+@@ -1164,6 +1166,12 @@ VaapiVideoDecodeAccelerator::GetSupporte
VaapiVideoDecodeAccelerator::BufferAllocationMode
VaapiVideoDecodeAccelerator::DecideBufferAllocationMode() {
@@ -32,19 +32,19 @@ diff -up chromium-81.0.4044.92/media/gpu/vaapi/vaapi_video_decode_accelerator.cc
// TODO(crbug.com/912295): Enable a better BufferAllocationMode for IMPORT
// |output_mode_| as well.
if (output_mode_ == VideoDecodeAccelerator::Config::OutputMode::IMPORT)
-@@ -1211,7 +1219,7 @@ VaapiVideoDecodeAccelerator::DecideBuffe
- // depends on the bitstream and sometimes it's not enough to cover the amount
- // of frames needed by the client pipeline (see b/133733739).
+@@ -1174,7 +1182,7 @@ VaapiVideoDecodeAccelerator::DecideBuffe
+ // associated format reconciliation copy, avoiding all internal buffer
+ // allocations.
// TODO(crbug.com/911754): Enable for VP9 Profile 2.
- if (IsGeminiLakeOrLater() &&
+ if (false && IsGeminiLakeOrLater() &&
- (profile_ == VP9PROFILE_PROFILE0 || profile_ == VP8PROFILE_ANY)) {
+ (profile_ == VP9PROFILE_PROFILE0 || profile_ == VP8PROFILE_ANY ||
+ (profile_ >= H264PROFILE_MIN && profile_ <= H264PROFILE_MAX))) {
// Add one to the reference frames for the one being currently egressed, and
- // an extra allocation for both |client_| and |decoder_|, see
-diff -up chromium-81.0.4044.92/media/gpu/vaapi/vaapi_video_decode_accelerator.h.28~ chromium-81.0.4044.92/media/gpu/vaapi/vaapi_video_decode_accelerator.h
---- chromium-81.0.4044.92/media/gpu/vaapi/vaapi_video_decode_accelerator.h.28~ 2020-04-03 06:11:34.000000000 +0200
-+++ chromium-81.0.4044.92/media/gpu/vaapi/vaapi_video_decode_accelerator.h 2020-04-14 16:24:00.916251409 +0200
-@@ -208,6 +208,7 @@ class MEDIA_GPU_EXPORT VaapiVideoDecodeA
+diff -up chromium-85.0.4181.8/media/gpu/vaapi/vaapi_video_decode_accelerator.h.23~ chromium-85.0.4181.8/media/gpu/vaapi/vaapi_video_decode_accelerator.h
+--- chromium-85.0.4181.8/media/gpu/vaapi/vaapi_video_decode_accelerator.h.23~ 2020-06-25 11:31:32.000000000 +0200
++++ chromium-85.0.4181.8/media/gpu/vaapi/vaapi_video_decode_accelerator.h 2020-07-04 05:50:03.896449013 +0200
+@@ -209,6 +209,7 @@ class MEDIA_GPU_EXPORT VaapiVideoDecodeA
// Using |client_|s provided PictureBuffers and as many internally
// allocated.
kNormal,
@@ -52,10 +52,10 @@ diff -up chromium-81.0.4044.92/media/gpu/vaapi/vaapi_video_decode_accelerator.h.
};
// Decides the concrete buffer allocation mode, depending on the hardware
-diff -up chromium-81.0.4044.92/media/gpu/vaapi/vaapi_wrapper.cc.28~ chromium-81.0.4044.92/media/gpu/vaapi/vaapi_wrapper.cc
---- chromium-81.0.4044.92/media/gpu/vaapi/vaapi_wrapper.cc.28~ 2020-04-03 06:11:34.000000000 +0200
-+++ chromium-81.0.4044.92/media/gpu/vaapi/vaapi_wrapper.cc 2020-04-14 16:24:00.916251409 +0200
-@@ -133,6 +133,9 @@ media::VAImplementation VendorStringToIm
+diff -up chromium-85.0.4181.8/media/gpu/vaapi/vaapi_wrapper.cc.23~ chromium-85.0.4181.8/media/gpu/vaapi/vaapi_wrapper.cc
+--- chromium-85.0.4181.8/media/gpu/vaapi/vaapi_wrapper.cc.23~ 2020-06-25 11:31:32.000000000 +0200
++++ chromium-85.0.4181.8/media/gpu/vaapi/vaapi_wrapper.cc 2020-07-04 05:50:03.896449013 +0200
+@@ -135,6 +135,9 @@ media::VAImplementation VendorStringToIm
} else if (base::StartsWith(va_vendor_string, "Intel iHD driver",
base::CompareCase::SENSITIVE)) {
return media::VAImplementation::kIntelIHD;
@@ -65,9 +65,9 @@ diff -up chromium-81.0.4044.92/media/gpu/vaapi/vaapi_wrapper.cc.28~ chromium-81.
}
return media::VAImplementation::kOther;
}
-diff -up chromium-81.0.4044.92/media/gpu/vaapi/vaapi_wrapper.h.28~ chromium-81.0.4044.92/media/gpu/vaapi/vaapi_wrapper.h
---- chromium-81.0.4044.92/media/gpu/vaapi/vaapi_wrapper.h.28~ 2020-04-03 06:11:34.000000000 +0200
-+++ chromium-81.0.4044.92/media/gpu/vaapi/vaapi_wrapper.h 2020-04-14 16:24:00.916251409 +0200
+diff -up chromium-85.0.4181.8/media/gpu/vaapi/vaapi_wrapper.h.23~ chromium-85.0.4181.8/media/gpu/vaapi/vaapi_wrapper.h
+--- chromium-85.0.4181.8/media/gpu/vaapi/vaapi_wrapper.h.23~ 2020-06-25 11:31:32.000000000 +0200
++++ chromium-85.0.4181.8/media/gpu/vaapi/vaapi_wrapper.h 2020-07-04 05:50:03.896449013 +0200
@@ -80,6 +80,7 @@ enum class VAImplementation {
kIntelIHD,
kOther,