Hello community, here is the log from the commit of package chromium for openSUSE:Factory checked in at 2020-09-06 21:35:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/chromium (Old) and /work/SRC/openSUSE:Factory/.chromium.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "chromium" Sun Sep 6 21:35:28 2020 rev:266 rq:831606 version:85.0.4183.83 Changes: -------- --- /work/SRC/openSUSE:Factory/chromium/chromium.changes 2020-08-28 09:52:26.176074959 +0200 +++ /work/SRC/openSUSE:Factory/.chromium.new.3399/chromium.changes 2020-09-06 21:37:34.825693929 +0200 @@ -1,0 +2,62 @@ +Tue Sep 1 10:15:44 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Really update to .83 we accidentally included .69 beta release + +------------------------------------------------------------------- +Fri Aug 28 07:21:04 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Add patch trying to compile with old libdrm on Leap 15.1: + * chromium-lp151-old-drm.patch + +------------------------------------------------------------------- +Thu Aug 27 08:27:42 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Version update to 85.0.4183.83 bsc#1175757 + * CVE-2020-6558: Insufficient policy enforcement in iOS + * CVE-2020-6559: Use after free in presentation API + * CVE-2020-6560: Insufficient policy enforcement in autofill + * CVE-2020-6561: Inappropriate implementation in Content Security Policy + * CVE-2020-6562: Insufficient policy enforcement in Blink + * CVE-2020-6563: Insufficient policy enforcement in intent handling. + * CVE-2020-6564: Incorrect security UI in permissions + * CVE-2020-6565: Incorrect security UI in Omnibox. + * CVE-2020-6566: Insufficient policy enforcement in media. + * CVE-2020-6567: Insufficient validation of untrusted input in command line handling. + * CVE-2020-6568: Insufficient policy enforcement in intent handling. + * CVE-2020-6569: Integer overflow in WebUSB. + * CVE-2020-6570: Side-channel information leakage in WebRTC. + * CVE-2020-6571: Incorrect security UI in Omnibox. +- Use bundled vpx everywhere again as it fails to compile against + system version +- Added patches: + * chromium-85-DelayNode-cast.patch + * chromium-85-FrameWidget-namespace.patch + * chromium-85-NearbyConnection-abstract.patch + * chromium-85-NearbyShareEncryptedMetadataKey-include.patch + * chromium-85-oscillator_node-cast.patch + * chromium-85-ostream-operator.patch + * chromium-85-ozone-include.patch + * chromium-85-sim_hash-include.patch +- Removed patches: + * chromium-82-gcc-template.patch + * chromium-84-AXObject-stl-iterator.patch + * chromium-84-FilePath-add-noexcept.patch + * chromium-84-base-has_bultin.patch + * chromium-84-fix-decltype.patch + * chromium-84-gcc-DOMRect-constexpr.patch + * chromium-84-gcc-noexcept.patch + * chromium-84-gcc-template.patch + * chromium-84-gcc-unique_ptr.patch + * chromium-84-gcc-use-brace-initializer.patch + * chromium-84-nss-include.patch + * chromium-84-ozone-include.patch + * chromium-84-revert-manage-ManifestManagerHost-per-document.patch + * chromium-84-std-vector-const.patch + * chromium-clang_lto_visibility_public.patch +- Updated patches: + * chromium-83-gcc-10.patch + * chromium-84-gcc-include.patch + * chromium-prop-codecs.patch + * gcc-enable-lto.patch + +------------------------------------------------------------------- Old: ---- chromium-82-gcc-template.patch chromium-84-AXObject-stl-iterator.patch chromium-84-FilePath-add-noexcept.patch chromium-84-base-has_bultin.patch chromium-84-fix-decltype.patch chromium-84-gcc-DOMRect-constexpr.patch chromium-84-gcc-noexcept.patch chromium-84-gcc-template.patch chromium-84-gcc-unique_ptr.patch chromium-84-gcc-use-brace-initializer.patch chromium-84-nss-include.patch chromium-84-ozone-include.patch chromium-84-revert-manage-ManifestManagerHost-per-document.patch chromium-84-std-vector-const.patch chromium-84.0.4147.135.tar.xz chromium-clang_lto_visibility_public.patch xcb-proto-1.14.tar.xz New: ---- chromium-85-DelayNode-cast.patch chromium-85-FrameWidget-namespace.patch chromium-85-NearbyConnection-abstract.patch chromium-85-NearbyShareEncryptedMetadataKey-include.patch chromium-85-oscillator_node-cast.patch chromium-85-ostream-operator.patch chromium-85-ozone-include.patch chromium-85-sim_hash-include.patch chromium-85.0.4183.83.tar.xz chromium-lp151-old-drm.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ chromium.spec ++++++ --- /var/tmp/diff_new_pack.udyxj5/_old 2020-09-06 21:37:41.869697401 +0200 +++ /var/tmp/diff_new_pack.udyxj5/_new 2020-09-06 21:37:41.873697403 +0200 @@ -21,7 +21,7 @@ %define __provides_exclude ^lib.*\\.so.*$ %if 0%{?suse_version} > 1500 %bcond_without system_icu -%bcond_without system_vpx +%bcond_with system_vpx %bcond_with wayland %else %bcond_with system_icu @@ -51,14 +51,12 @@ %endif %bcond_with clang Name: chromium -Version: 84.0.4147.135 +Version: 85.0.4183.83 Release: 0 Summary: Google's open source browser project License: BSD-3-Clause AND LGPL-2.1-or-later URL: https://www.chromium.org/ Source0: https://commondatastorage.googleapis.com/chromium-browser-official/%{rname}-%{version}.tar.xz -# we need to bundle this because we need py2 version until google switches to python3 -Source1: https://www.x.org/releases/individual/proto/xcb-proto-1.14.tar.xz # Toolchain definitions Source30: master_preferences Source100: chromium-browser.sh @@ -84,32 +82,27 @@ Patch14: gpu-timeout.patch Patch15: build-with-pipewire-0.3.patch Patch16: chromium-82-gcc-constexpr.patch -Patch18: chromium-82-gcc-template.patch Patch20: chromium-83-gcc-10.patch Patch21: chromium-84-gcc-include.patch -Patch22: chromium-84-gcc-noexcept.patch -Patch23: chromium-84-gcc-template.patch -Patch24: chromium-84-gcc-unique_ptr.patch # Do not use unrar code, it is non-free Patch26: chromium-norar.patch Patch27: chromium-84-blink-disable-clang-format.patch -Patch28: chromium-84-AXObject-stl-iterator.patch -Patch29: chromium-84-base-has_bultin.patch -Patch30: chromium-84-FilePath-add-noexcept.patch -Patch31: chromium-84-fix-decltype.patch -Patch32: chromium-84-gcc-DOMRect-constexpr.patch -Patch33: chromium-84-gcc-use-brace-initializer.patch -Patch34: chromium-84-revert-manage-ManifestManagerHost-per-document.patch -Patch35: chromium-84-std-vector-const.patch # revert location on old GCC on 15.1, 15.2 gets it right tho Patch36: no-location-leap151.patch Patch37: chromium-84-mediaalloc.patch -Patch38: chromium-84-nss-include.patch -Patch39: chromium-84-ozone-include.patch Patch40: chromium-blink-gcc-diagnostic-pragma.patch Patch41: chromium-quiche-invalid-offsetof.patch -Patch42: chromium-clang_lto_visibility_public.patch Patch43: system-libdrm.patch +Patch44: chromium-85-DelayNode-cast.patch +Patch45: chromium-85-FrameWidget-namespace.patch +Patch46: chromium-85-NearbyConnection-abstract.patch +Patch47: chromium-85-NearbyShareEncryptedMetadataKey-include.patch +Patch48: chromium-85-oscillator_node-cast.patch +Patch49: chromium-85-ostream-operator.patch +Patch50: chromium-85-ozone-include.patch +Patch51: chromium-85-sim_hash-include.patch +Patch52: chromium-disable-parallel-gold.patch +Patch53: chromium-lp151-old-drm.patch # Google seem not too keen on merging this but GPU accel is quite important # https://chromium-review.googlesource.com/c/chromium/src/+/532294 # https://github.com/saiarcot895/chromium-ubuntu-build/tree/master/debian/patches @@ -120,7 +113,6 @@ Patch102: chromium-vaapi-fix.patch # PATCH-FIX-SUSE: allow prop codecs to be set with chromium branding Patch200: chromium-prop-codecs.patch -Patch201: chromium-disable-parallel-gold.patch BuildRequires: SDL-devel BuildRequires: binutils-gold BuildRequires: bison @@ -294,9 +286,6 @@ %setup -q -n %{rname}-%{version} %autopatch -p1 -# bundle xcb-proto for python2 -tar xJf %{SOURCE1} - # Fix the path to nodejs binary mkdir -p third_party/node/linux/node-linux-x64/bin ln -s %{_bindir}/node third_party/node/linux/node-linux-x64/bin/node @@ -427,6 +416,7 @@ third_party/node third_party/node/node_modules/polymer-bundler/lib/third_party/UglifyJS2 third_party/one_euro_filter + third_party/opencv third_party/openscreen third_party/openscreen/src/third_party/mozilla third_party/openscreen/src/third_party/tinycbor/src/src @@ -466,6 +456,7 @@ third_party/sqlite third_party/swiftshader third_party/swiftshader/third_party/astc-encoder + third_party/swiftshader/third_party/llvm-10.0 third_party/swiftshader/third_party/llvm-subzero third_party/swiftshader/third_party/marl third_party/swiftshader/third_party/subzero @@ -486,6 +477,7 @@ third_party/widevine third_party/woff2 third_party/wuffs + third_party/xcbproto third_party/zlib/google tools/grit/third_party/six url/third_party/mozilla @@ -568,6 +560,12 @@ %endif # do not eat all memory %limit_build -m 2600 +%if %{with lto} +# reduce the threads for linking even more due to LTO eating ton of memory +_link_threads=$(((%{jobs} - 2))) +test "$_link_threads" -le 0 && _link_threads=1 +export LDFLAGS="-flto=$_link_threads --param lto-max-streaming-parallelism=1" +%endif # Set system libraries to be used gn_system_libraries=( @@ -603,8 +601,6 @@ # Create the configuration for GN # Available options: out/Release/gn args --list out/Release/ myconf_gn="" -# bundled xcb py2 variant -myconf_gn+=" xcbproto_path=\"$PWD/xcb-proto-1.14/src\"" myconf_gn+=" custom_toolchain=\"//build/toolchain/linux/unbundle:default\"" myconf_gn+=" host_toolchain=\"//build/toolchain/linux/unbundle:default\"" myconf_gn+=" use_custom_libcxx=false" @@ -654,8 +650,8 @@ %endif # ozone stuff %if %{with wayland} -myconf_gn+=" use_system_minigbm=true use_xkbcommon=true" myconf_gn+=" use_system_libdrm=true" +myconf_gn+=" use_system_minigbm=true use_xkbcommon=true" myconf_gn+=" use_ozone=true ozone_auto_platforms=false" myconf_gn+=" ozone_platform=\"x11\" ozone_platform_x11=true ozone_platform_gbm=true" myconf_gn+=" ozone_platform_wayland=true" ++++++ chromium-83-gcc-10.patch ++++++ --- /var/tmp/diff_new_pack.udyxj5/_old 2020-09-06 21:37:41.917697425 +0200 +++ /var/tmp/diff_new_pack.udyxj5/_new 2020-09-06 21:37:41.921697427 +0200 @@ -10,22 +10,22 @@ ui/gfx/linux/drm_util_linux.h | 2 ++ 5 files changed, 6 insertions(+) -Index: chromium-84.0.4147.30/chrome/browser/search/background/ntp_backgrounds.h +Index: chromium-85.0.4183.69/chrome/browser/search/background/ntp_backgrounds.h =================================================================== ---- chromium-84.0.4147.30.orig/chrome/browser/search/background/ntp_backgrounds.h -+++ chromium-84.0.4147.30/chrome/browser/search/background/ntp_backgrounds.h -@@ -6,6 +6,7 @@ - #define CHROME_BROWSER_SEARCH_BACKGROUND_NTP_BACKGROUNDS_H_ +--- chromium-85.0.4183.69.orig/chrome/browser/search/background/ntp_backgrounds.h ++++ chromium-85.0.4183.69/chrome/browser/search/background/ntp_backgrounds.h +@@ -8,6 +8,7 @@ + #include <stddef.h> #include <array> +#include <cstddef> class GURL; -Index: chromium-84.0.4147.30/third_party/webrtc/call/rtx_receive_stream.h +Index: chromium-85.0.4183.69/third_party/webrtc/call/rtx_receive_stream.h =================================================================== ---- chromium-84.0.4147.30.orig/third_party/webrtc/call/rtx_receive_stream.h -+++ chromium-84.0.4147.30/third_party/webrtc/call/rtx_receive_stream.h +--- chromium-85.0.4183.69.orig/third_party/webrtc/call/rtx_receive_stream.h ++++ chromium-85.0.4183.69/third_party/webrtc/call/rtx_receive_stream.h @@ -13,6 +13,7 @@ #include <cstdint> @@ -34,22 +34,22 @@ #include "call/rtp_packet_sink_interface.h" -Index: chromium-84.0.4147.30/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h +Index: chromium-85.0.4183.69/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h =================================================================== ---- chromium-84.0.4147.30.orig/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h -+++ chromium-84.0.4147.30/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h -@@ -12,6 +12,7 @@ - #define MODULES_AUDIO_PROCESSING_AEC3_CLOCKDRIFT_DETECTOR_H_ +--- chromium-85.0.4183.69.orig/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h ++++ chromium-85.0.4183.69/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h +@@ -14,6 +14,7 @@ + #include <stddef.h> #include <array> +#include <cstddef> namespace webrtc { -Index: chromium-84.0.4147.30/ui/gfx/linux/drm_util_linux.h +Index: chromium-85.0.4183.69/ui/gfx/linux/drm_util_linux.h =================================================================== ---- chromium-84.0.4147.30.orig/ui/gfx/linux/drm_util_linux.h -+++ chromium-84.0.4147.30/ui/gfx/linux/drm_util_linux.h +--- chromium-85.0.4183.69.orig/ui/gfx/linux/drm_util_linux.h ++++ chromium-85.0.4183.69/ui/gfx/linux/drm_util_linux.h @@ -9,6 +9,8 @@ #include "ui/gfx/buffer_types.h" ++++++ chromium-84-gcc-include.patch ++++++ --- /var/tmp/diff_new_pack.udyxj5/_old 2020-09-06 21:37:41.929697431 +0200 +++ /var/tmp/diff_new_pack.udyxj5/_new 2020-09-06 21:37:41.929697431 +0200 @@ -7,22 +7,10 @@ cc/base/list_container_helper.cc | 1 + 1 file changed, 1 insertion(+) -Index: chromium-84.0.4147.30/cc/base/list_container_helper.cc +Index: chromium-85.0.4183.69/third_party/blink/common/input/web_touch_event.cc =================================================================== ---- chromium-84.0.4147.30.orig/cc/base/list_container_helper.cc -+++ chromium-84.0.4147.30/cc/base/list_container_helper.cc -@@ -7,6 +7,7 @@ - #include <stddef.h> - - #include <algorithm> -+#include <cstring> - #include <vector> - - #include "base/check_op.h" -Index: chromium-84.0.4147.30/third_party/blink/common/input/web_touch_event.cc -=================================================================== ---- chromium-84.0.4147.30.orig/third_party/blink/common/input/web_touch_event.cc -+++ chromium-84.0.4147.30/third_party/blink/common/input/web_touch_event.cc +--- chromium-85.0.4183.69.orig/third_party/blink/common/input/web_touch_event.cc ++++ chromium-85.0.4183.69/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. @@ -32,49 +20,36 @@ #include "third_party/blink/public/common/input/web_touch_event.h" #include <bitset> -Index: chromium-84.0.4147.30/third_party/crashpad/crashpad/snapshot/minidump/minidump_context_converter.cc -=================================================================== ---- chromium-84.0.4147.30.orig/third_party/crashpad/crashpad/snapshot/minidump/minidump_context_converter.cc -+++ chromium-84.0.4147.30/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" - -Index: chromium-84.0.4147.30/third_party/crashpad/crashpad/util/linux/ptrace_client.cc +Index: chromium-85.0.4183.69/third_party/crashpad/crashpad/util/linux/ptrace_client.cc =================================================================== ---- chromium-84.0.4147.30.orig/third_party/crashpad/crashpad/util/linux/ptrace_client.cc -+++ chromium-84.0.4147.30/third_party/crashpad/crashpad/util/linux/ptrace_client.cc -@@ -17,6 +17,7 @@ - #include <errno.h> +--- chromium-85.0.4183.69.orig/third_party/crashpad/crashpad/util/linux/ptrace_client.cc ++++ chromium-85.0.4183.69/third_party/crashpad/crashpad/util/linux/ptrace_client.cc +@@ -18,6 +18,7 @@ #include <stdio.h> + #include <string.h> +#include <cstring> #include <string> #include "base/logging.h" -Index: chromium-84.0.4147.30/third_party/crashpad/crashpad/util/net/http_multipart_builder.cc +Index: chromium-85.0.4183.69/third_party/crashpad/crashpad/util/net/http_multipart_builder.cc =================================================================== ---- chromium-84.0.4147.30.orig/third_party/crashpad/crashpad/util/net/http_multipart_builder.cc -+++ chromium-84.0.4147.30/third_party/crashpad/crashpad/util/net/http_multipart_builder.cc -@@ -16,6 +16,7 @@ - +--- chromium-85.0.4183.69.orig/third_party/crashpad/crashpad/util/net/http_multipart_builder.cc ++++ chromium-85.0.4183.69/third_party/crashpad/crashpad/util/net/http_multipart_builder.cc +@@ -17,6 +17,7 @@ + #include <string.h> #include <sys/types.h> +#include <cstring> #include <utility> #include <vector> -Index: chromium-84.0.4147.30/third_party/crashpad/crashpad/util/net/http_transport_socket.cc +Index: chromium-85.0.4183.69/third_party/crashpad/crashpad/util/net/http_transport_socket.cc =================================================================== ---- chromium-84.0.4147.30.orig/third_party/crashpad/crashpad/util/net/http_transport_socket.cc -+++ chromium-84.0.4147.30/third_party/crashpad/crashpad/util/net/http_transport_socket.cc -@@ -19,6 +19,8 @@ - #include <poll.h> +--- chromium-85.0.4183.69.orig/third_party/crashpad/crashpad/util/net/http_transport_socket.cc ++++ chromium-85.0.4183.69/third_party/crashpad/crashpad/util/net/http_transport_socket.cc +@@ -20,6 +20,8 @@ + #include <string.h> #include <sys/socket.h> +#include <cstring> @@ -82,27 +57,27 @@ #include "base/logging.h" #include "base/macros.h" #include "base/numerics/safe_conversions.h" -Index: chromium-84.0.4147.30/third_party/crashpad/crashpad/util/process/process_memory.cc +Index: chromium-85.0.4183.69/third_party/crashpad/crashpad/util/process/process_memory.cc =================================================================== ---- chromium-84.0.4147.30.orig/third_party/crashpad/crashpad/util/process/process_memory.cc -+++ chromium-84.0.4147.30/third_party/crashpad/crashpad/util/process/process_memory.cc -@@ -15,6 +15,7 @@ - #include "util/process/process_memory.h" +--- chromium-85.0.4183.69.orig/third_party/crashpad/crashpad/util/process/process_memory.cc ++++ chromium-85.0.4183.69/third_party/crashpad/crashpad/util/process/process_memory.cc +@@ -17,6 +17,7 @@ + #include <string.h> #include <algorithm> +#include <cstring> + #include "base/check_op.h" #include "base/logging.h" - #include "util/numeric/safe_assignment.h" -Index: chromium-84.0.4147.30/third_party/crashpad/crashpad/util/stream/log_output_stream.cc +Index: chromium-85.0.4183.69/third_party/crashpad/crashpad/util/stream/log_output_stream.cc =================================================================== ---- chromium-84.0.4147.30.orig/third_party/crashpad/crashpad/util/stream/log_output_stream.cc -+++ chromium-84.0.4147.30/third_party/crashpad/crashpad/util/stream/log_output_stream.cc -@@ -15,6 +15,7 @@ - #include "util/stream/log_output_stream.h" +--- chromium-85.0.4183.69.orig/third_party/crashpad/crashpad/util/stream/log_output_stream.cc ++++ chromium-85.0.4183.69/third_party/crashpad/crashpad/util/stream/log_output_stream.cc +@@ -17,6 +17,7 @@ + #include <string.h> #include <algorithm> +#include <cstring> + #include "base/check.h" #include "base/logging.h" - ++++++ chromium-85-DelayNode-cast.patch ++++++ >From 051a6f6f3fe71602d4c13aa8f3cda40cd3c7484d Mon Sep 17 00:00:00 2001 From: Jose Dapena Paz <[email protected]> Date: Tue, 07 Jul 2020 16:10:14 +0000 Subject: [PATCH] fixup: SIMD for main loop of a-rate DelayNode Similar to previous fix to oscillator node. In GCC, an implicit cast to m128i of the result of mm_cmplt_ps is not valid. In this case, as the next usage of the return value is already an m128, we just change the type of the return value to m128 too. Bug: 819294 Change-Id: I9ae9103a837920a5bfe432d7c81930bb4a5fce78 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2283211 Reviewed-by: Raymond Toy <[email protected]> Commit-Queue: José Dapena Paz <[email protected]> Cr-Commit-Position: refs/heads/master@{#785770} --- diff --git a/third_party/blink/renderer/platform/audio/audio_delay_dsp_kernel.cc b/third_party/blink/renderer/platform/audio/audio_delay_dsp_kernel.cc index 6d26a4d..7b244a6 100644 --- a/third_party/blink/renderer/platform/audio/audio_delay_dsp_kernel.cc +++ b/third_party/blink/renderer/platform/audio/audio_delay_dsp_kernel.cc @@ -142,7 +142,7 @@ // Wrap the read position if it exceed the buffer length. // If buffer length < read_position, set cmp to 0xffffffff. Otherwise zero. - __m128i cmp = _mm_cmplt_ps(v_buffer_length, v_position); + __m128 cmp = _mm_cmplt_ps(v_buffer_length, v_position); // Bitwise and buffer_length with cmp to get buffer_length or 0 depending on // whether read_position >= buffer length or not. Then subtract from the ++++++ chromium-85-FrameWidget-namespace.patch ++++++ >From 9814c5890ecd3f1b044c234543010d8aa6f856b9 Mon Sep 17 00:00:00 2001 From: Stephan Hartmann <[email protected]> Date: Sun, 28 Jun 2020 11:14:10 +0000 Subject: [PATCH] GCC: add explicit namespace for FrameWidget GCC is confused by multiple definitions in different namespaces and fails like this: ../../third_party/blink/renderer/platform/widget/widget_base_client.h:153:24: error: declaration of 'virtual blink::FrameWidget* blink::WidgetBaseClient::FrameWidget()' changes meaning of 'FrameWidget' [-fpermissive] 153 | virtual FrameWidget* FrameWidget() { return nullptr; } | ^~~~~~~~~~~ --- third_party/blink/renderer/platform/widget/widget_base_client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/blink/renderer/platform/widget/widget_base_client.h b/third_party/blink/renderer/platform/widget/widget_base_client.h index b4ff5ed..606deab 100644 --- a/third_party/blink/renderer/platform/widget/widget_base_client.h +++ b/third_party/blink/renderer/platform/widget/widget_base_client.h @@ -150,7 +150,7 @@ class WidgetBaseClient { mojo::PendingRemote<mojom::blink::WidgetInputHandlerHost> host) = 0; // The FrameWidget interface if this is a FrameWidget. - virtual FrameWidget* FrameWidget() { return nullptr; } + virtual blink::FrameWidget* FrameWidget() { return nullptr; } // Send the composition change to the browser. virtual void SendCompositionRangeChanged( -- 2.26.2 ++++++ chromium-85-NearbyConnection-abstract.patch ++++++ diff --git a/chrome/browser/nearby_sharing/nearby_connections_manager.h b/chrome/browser/nearby_sharing/nearby_connections_manager.h index d6ac91e..eb1fda7 100644 --- a/chrome/browser/nearby_sharing/nearby_connections_manager.h +++ b/chrome/browser/nearby_sharing/nearby_connections_manager.h @@ -7,6 +7,7 @@ #include <stdint.h> #include <memory> +#include <string> #include <vector> #include "base/callback.h" @@ -25,11 +26,13 @@ // A callback for handling incoming connections while advertising. class IncomingConnectionListener { + public: virtual ~IncomingConnectionListener() = default; - virtual void OnIncomingConnection(const std::string& endpoint_id, - const std::vector<uint8_t>& endpoint_info, - NearbyConnection connection) = 0; + virtual void OnIncomingConnection( + const std::string& endpoint_id, + const std::vector<uint8_t>& endpoint_info, + std::unique_ptr<NearbyConnection> connection) = 0; }; // A callback for handling discovered devices while discovering. ++++++ chromium-85-NearbyShareEncryptedMetadataKey-include.patch ++++++ >From ad1493ec8f5287c5cd10dcb50b741359f7858349 Mon Sep 17 00:00:00 2001 From: Jose Dapena Paz <[email protected]> Date: Tue, 07 Jul 2020 14:43:40 +0000 Subject: [PATCH] IWYU: int8_t used in nearby share encrypted metadata key requires cstdint Bug: 819294 Change-Id: I90f88cf35e85a8a0ab1811e5533347d329365b21 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2283508 Reviewed-by: Alex Chau <[email protected]> Commit-Queue: José Dapena Paz <[email protected]> Cr-Commit-Position: refs/heads/master@{#785727} --- diff --git a/chrome/browser/nearby_sharing/certificates/nearby_share_encrypted_metadata_key.h b/chrome/browser/nearby_sharing/certificates/nearby_share_encrypted_metadata_key.h index 2893bde..8e1758f 100644 --- a/chrome/browser/nearby_sharing/certificates/nearby_share_encrypted_metadata_key.h +++ b/chrome/browser/nearby_sharing/certificates/nearby_share_encrypted_metadata_key.h @@ -5,6 +5,7 @@ #ifndef CHROME_BROWSER_NEARBY_SHARING_CERTIFICATES_NEARBY_SHARE_ENCRYPTED_METADATA_KEY_H_ #define CHROME_BROWSER_NEARBY_SHARING_CERTIFICATES_NEARBY_SHARE_ENCRYPTED_METADATA_KEY_H_ +#include <cstdint> #include <vector> // Holds the encrypted symmetric key--the key used to encrypt user/device ++++++ chromium-85-oscillator_node-cast.patch ++++++ >From abd4ce23840614bb9e47fd0e674d1cbe74ec3fb6 Mon Sep 17 00:00:00 2001 From: Jose Dapena Paz <[email protected]> Date: Tue, 16 Jun 2020 21:08:28 +0200 Subject: [PATCH] fixup: do not return to 128 integer word from _mm_cmplt_ps in v_wrap_virtual_index. After the changes to convert to SIMD several operations in WebAudio oscillator node, GCC refuses to compile a call to _mm_cmplt_ps as it returns to an m128i (integer quad), though the declaration of _mm_cmplt_ps expects to return to an m128 (float quad). To fix that, we reinterpret_cast<__m128i>. When we obtain 0xffffffff, that is NaN, if we interpret it as an integer, it will convert it to 0x80000000, which is wrong. Verified with webaudio/Oscillator/* web tests. Bug: 819294 Change-Id: Ia00a7695476e84996548b6c679ffeedead49213b --- diff --git a/third_party/blink/renderer/modules/webaudio/oscillator_node.cc b/third_party/blink/renderer/modules/webaudio/oscillator_node.cc index 0e38932..03ff1da 100644 --- a/third_party/blink/renderer/modules/webaudio/oscillator_node.cc +++ b/third_party/blink/renderer/modules/webaudio/oscillator_node.cc @@ -377,7 +377,8 @@ // cmplt(a,b) returns 0xffffffff (-1) if a < b and 0 if not. So cmp is -1 or // 0 depending on whether r < f, which is what we need to compute floor(r). - const __m128i cmp = _mm_cmplt_ps(r, _mm_cvtepi32_ps(f)); + const __m128i cmp = + reinterpret_cast<__m128i>(_mm_cmplt_ps(r, _mm_cvtepi32_ps(f))); // This subtracts 1 if needed to get floor(r). f = _mm_add_epi32(f, cmp); ++++++ chromium-85-ostream-operator.patch ++++++ >From 63ca21fddaf4f3b12baf320857407b884db2b570 Mon Sep 17 00:00:00 2001 From: Stephan Hartmann <[email protected]> Date: Thu, 02 Jul 2020 19:20:33 +0000 Subject: [PATCH] GCC: fix operator<< for performance_manager::PageNode::OpenedType Move operator<< into namespace performance_manager. Bug: 819294 Change-Id: I4e0e97f10dca0b2e56308e07a67cb00e2c2e8052 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2273191 Reviewed-by: Chris Hamilton <[email protected]> Commit-Queue: Chris Hamilton <[email protected]> Cr-Commit-Position: refs/heads/master@{#784897} --- diff --git a/components/performance_manager/graph/page_node.cc b/components/performance_manager/graph/page_node.cc index 113fcf4..b1a4007 100644 --- a/components/performance_manager/graph/page_node.cc +++ b/components/performance_manager/graph/page_node.cc @@ -32,11 +32,11 @@ PageNode::ObserverDefaultImpl::ObserverDefaultImpl() = default; PageNode::ObserverDefaultImpl::~ObserverDefaultImpl() = default; -} // namespace performance_manager - std::ostream& operator<<( std::ostream& os, performance_manager::PageNode::OpenedType opened_type) { os << performance_manager::PageNode::ToString(opened_type); return os; -} \ No newline at end of file +} + +} // namespace performance_manager diff --git a/components/performance_manager/public/graph/page_node.h b/components/performance_manager/public/graph/page_node.h index 422c043..79fec03 100644 --- a/components/performance_manager/public/graph/page_node.h +++ b/components/performance_manager/public/graph/page_node.h @@ -265,10 +265,10 @@ DISALLOW_COPY_AND_ASSIGN(ObserverDefaultImpl); }; -} // namespace performance_manager - // std::ostream support for PageNode::OpenedType. std::ostream& operator<<(std::ostream& os, performance_manager::PageNode::OpenedType opened_type); +} // namespace performance_manager + #endif // COMPONENTS_PERFORMANCE_MANAGER_PUBLIC_GRAPH_PAGE_NODE_H_ ++++++ chromium-84-ozone-include.patch -> chromium-85-ozone-include.patch ++++++ --- /work/SRC/openSUSE:Factory/chromium/chromium-84-ozone-include.patch 2020-07-21 15:43:30.035772632 +0200 +++ /work/SRC/openSUSE:Factory/.chromium.new.3399/chromium-85-ozone-include.patch 2020-09-06 21:36:55.509674554 +0200 @@ -1,24 +1,24 @@ -From 70ea8ba2c50be2a4bc476261e7640d824b938c99 Mon Sep 17 00:00:00 2001 +From 9abbd7da1ddd8003106cc3420170561d475231a9 Mon Sep 17 00:00:00 2001 From: Stephan Hartmann <[email protected]> -Date: Sat, 13 Jun 2020 18:16:27 +0000 -Subject: [PATCH] IWYU: add missing include for memset +Date: Mon, 29 Jun 2020 13:01:27 +0000 +Subject: [PATCH] IWYU: add missing include for std::vector --- - ui/events/ozone/evdev/event_device_info.cc | 1 + + ui/ozone/public/platform_screen.h | 1 + 1 file changed, 1 insertion(+) -diff --git a/ui/events/ozone/evdev/event_device_info.cc b/ui/events/ozone/evdev/event_device_info.cc -index efbc258..0c5f0a3 100644 ---- a/ui/events/ozone/evdev/event_device_info.cc -+++ b/ui/events/ozone/evdev/event_device_info.cc -@@ -5,6 +5,7 @@ - #include "ui/events/ozone/evdev/event_device_info.h" +diff --git a/ui/ozone/public/platform_screen.h b/ui/ozone/public/platform_screen.h +index 9ce293c..ba20597 100644 +--- a/ui/ozone/public/platform_screen.h ++++ b/ui/ozone/public/platform_screen.h +@@ -7,6 +7,7 @@ - #include <linux/input.h> -+#include <string.h> + #include <set> + #include <string> ++#include <vector> - #include "base/files/file_path.h" - #include "base/logging.h" + #include "base/component_export.h" + #include "base/macros.h" -- 2.26.2 ++++++ chromium-85-sim_hash-include.patch ++++++ >From c0934033a97b61f3177238ff9f842c5a0f5d8faa Mon Sep 17 00:00:00 2001 From: Stephan Hartmann <[email protected]> Date: Sun, 28 Jun 2020 18:48:11 +0000 Subject: [PATCH] IWYU: add includes for uint64_t and std::string --- components/federated_learning/sim_hash.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/federated_learning/sim_hash.h b/components/federated_learning/sim_hash.h index 55030d9..a51dd64 100644 --- a/components/federated_learning/sim_hash.h +++ b/components/federated_learning/sim_hash.h @@ -5,6 +5,8 @@ #ifndef COMPONENTS_FEDERATED_LEARNING_SIM_HASH_H_ #define COMPONENTS_FEDERATED_LEARNING_SIM_HASH_H_ +#include <stdint.h> +#include <string> #include <set> #include <unordered_set> -- 2.26.2 ++++++ chromium-84.0.4147.135.tar.xz -> chromium-85.0.4183.83.tar.xz ++++++ /work/SRC/openSUSE:Factory/chromium/chromium-84.0.4147.135.tar.xz /work/SRC/openSUSE:Factory/.chromium.new.3399/chromium-85.0.4183.83.tar.xz differ: char 26, line 1 ++++++ chromium-lp151-old-drm.patch ++++++ Index: chromium-85.0.4183.69/ui/gfx/linux/drm_util_linux.cc =================================================================== --- chromium-85.0.4183.69.orig/ui/gfx/linux/drm_util_linux.cc +++ chromium-85.0.4183.69/ui/gfx/linux/drm_util_linux.cc @@ -6,6 +6,27 @@ #include <drm_fourcc.h> +#ifndef DRM_FORMAT_P010 +/* + * 2 plane YCbCr MSB aligned + * index 0 = Y plane, [15:0] Y:x [10:6] little endian + * index 1 = Cr:Cb plane, [31:0] Cr:x:Cb:x [10:6:10:6] little endian + */ +#define DRM_FORMAT_P010 fourcc_code('P', '0', '1', '0') /* 2x2 subsampled Cr:Cb plane 10 bits per channel */ +/* + * 2 plane YCbCr MSB aligned + * index 0 = Y plane, [15:0] Y:x [12:4] little endian + * index 1 = Cr:Cb plane, [31:0] Cr:x:Cb:x [12:4:12:4] little endian + */ +#define DRM_FORMAT_P012 fourcc_code('P', '0', '1', '2') /* 2x2 subsampled Cr:Cb plane 12 bits per channel */ +/* + * 2 plane YCbCr MSB aligned + * index 0 = Y plane, [15:0] Y little endian + * index 1 = Cr:Cb plane, [31:0] Cr:Cb [16:16] little endian + */ +#define DRM_FORMAT_P016 fourcc_code('P', '0', '1', '6') /* 2x2 subsampled Cr:Cb plane 16 bits per channel */ +#endif + #include "base/notreached.h" namespace ui { ++++++ chromium-prop-codecs.patch ++++++ --- /var/tmp/diff_new_pack.udyxj5/_old 2020-09-06 21:37:42.101697515 +0200 +++ /var/tmp/diff_new_pack.udyxj5/_new 2020-09-06 21:37:42.101697515 +0200 @@ -1,8 +1,8 @@ -Index: chromium-83.0.4103.61/media/BUILD.gn +Index: chromium-85.0.4183.69/media/BUILD.gn =================================================================== ---- chromium-83.0.4103.61.orig/media/BUILD.gn -+++ chromium-83.0.4103.61/media/BUILD.gn -@@ -45,12 +45,6 @@ buildflag_header("media_buildflags") { +--- chromium-85.0.4183.69.orig/media/BUILD.gn ++++ chromium-85.0.4183.69/media/BUILD.gn +@@ -44,12 +44,6 @@ buildflag_header("media_buildflags") { ] } @@ -15,11 +15,11 @@ # Common configuration for targets in the media directory; these must not be # exported since things like USE_NEON and USE_CRAS have different meanings # elsewhere in the code base. -Index: chromium-83.0.4103.61/third_party/webrtc/webrtc.gni +Index: chromium-85.0.4183.69/third_party/webrtc/webrtc.gni =================================================================== ---- chromium-83.0.4103.61.orig/third_party/webrtc/webrtc.gni -+++ chromium-83.0.4103.61/third_party/webrtc/webrtc.gni -@@ -152,8 +152,7 @@ declare_args() { +--- chromium-85.0.4183.69.orig/third_party/webrtc/webrtc.gni ++++ chromium-85.0.4183.69/third_party/webrtc/webrtc.gni +@@ -156,8 +156,7 @@ declare_args() { # # Enabling H264 when building with MSVC is currently not supported, see # bugs.webrtc.org/9213#c13 for more info. @@ -27,5 +27,5 @@ - proprietary_codecs && !is_android && !is_ios && !(is_win && !is_clang) + rtc_use_h264 = false - # By default, use normal platform audio support or dummy audio, but don't - # use file-based audio playout and record. + # Enable this flag to make webrtc::Mutex be implemented by absl::Mutex. + rtc_use_absl_mutex = false ++++++ gcc-enable-lto.patch ++++++ --- /var/tmp/diff_new_pack.udyxj5/_old 2020-09-06 21:37:42.137697533 +0200 +++ /var/tmp/diff_new_pack.udyxj5/_new 2020-09-06 21:37:42.137697533 +0200 @@ -1,7 +1,7 @@ -Index: chromium-75.0.3770.142/build/config/BUILDCONFIG.gn +Index: chromium-85.0.4183.69/build/config/BUILDCONFIG.gn =================================================================== ---- chromium-75.0.3770.142.orig/build/config/BUILDCONFIG.gn -+++ chromium-75.0.3770.142/build/config/BUILDCONFIG.gn +--- chromium-85.0.4183.69.orig/build/config/BUILDCONFIG.gn ++++ chromium-85.0.4183.69/build/config/BUILDCONFIG.gn @@ -130,6 +130,8 @@ declare_args() { # separate flags. is_official_build = false @@ -11,7 +11,7 @@ # Whether we're a traditional desktop unix. is_desktop_linux = current_os == "linux" -@@ -440,6 +442,12 @@ default_compiler_configs = [ +@@ -441,6 +443,12 @@ default_compiler_configs = [ "//build/config/sanitizers:default_sanitizer_flags", ] @@ -24,11 +24,11 @@ if (is_win) { default_compiler_configs += [ "//build/config/win:default_crt", -Index: chromium-75.0.3770.142/build/config/compiler/BUILD.gn +Index: chromium-85.0.4183.69/build/config/compiler/BUILD.gn =================================================================== ---- chromium-75.0.3770.142.orig/build/config/compiler/BUILD.gn -+++ chromium-75.0.3770.142/build/config/compiler/BUILD.gn -@@ -1921,6 +1921,10 @@ if (is_win) { +--- chromium-85.0.4183.69.orig/build/config/compiler/BUILD.gn ++++ chromium-85.0.4183.69/build/config/compiler/BUILD.gn +@@ -1947,6 +1947,10 @@ if (is_win) { } } @@ -39,13 +39,13 @@ config("default_stack_frames") { if (is_posix || is_fuchsia) { if (enable_frame_pointers) { -Index: chromium-75.0.3770.142/sandbox/linux/BUILD.gn +Index: chromium-85.0.4183.69/sandbox/linux/BUILD.gn =================================================================== ---- chromium-75.0.3770.142.orig/sandbox/linux/BUILD.gn -+++ chromium-75.0.3770.142/sandbox/linux/BUILD.gn -@@ -256,6 +256,9 @@ component("seccomp_bpf") { - "//base", +--- chromium-85.0.4183.69.orig/sandbox/linux/BUILD.gn ++++ chromium-85.0.4183.69/sandbox/linux/BUILD.gn +@@ -250,6 +250,9 @@ component("seccomp_bpf") { "//base/third_party/dynamic_annotations", + "//sandbox:sandbox_buildflags", ] + if (gcc_lto) { + configs -= [ "//build/config/compiler:gcc_lto" ]
