Hello community, here is the log from the commit of package chromium for openSUSE:Factory checked in at 2019-02-08 12:09:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/chromium (Old) and /work/SRC/openSUSE:Factory/.chromium.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "chromium" Fri Feb 8 12:09:11 2019 rev:208 rq:670076 version:72.0.3626.81 Changes: -------- --- /work/SRC/openSUSE:Factory/chromium/chromium.changes 2019-01-03 18:07:50.300075843 +0100 +++ /work/SRC/openSUSE:Factory/.chromium.new.28833/chromium.changes 2019-02-08 12:09:47.281550596 +0100 @@ -1,0 +2,50 @@ +Wed Jan 30 08:58:19 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Update to 72.0.3626.81 bsc#1123641: + * CVE-2019-5754: Inappropriate implementation in QUIC Networking. Reported by Klzgrad on 2018-12-12 + * CVE-2019-5782: Inappropriate implementation in V8. Reported by Qixun Zhao of Qihoo 360 Vulcan Team via Tianfu Cup on 2018-11-16 + * CVE-2019-5755: Inappropriate implementation in V8. Reported by Jay Bosamiya on 2018-12-10 + * CVE-2019-5756: Use after free in PDFium. Reported by Anonymous on 2018-10-14 + * CVE-2019-5757: Type Confusion in SVG. Reported by Alexandru Pitis, Microsoft Browser Vulnerability Research on 2018-12-15 + * CVE-2019-5758: Use after free in Blink. Reported by Zhe Jin(金哲),Luyao Liu(刘路遥) from Chengdu Security Response Center of Qihoo 360 Technology Co. Ltd on 2018-12-11 + * CVE-2019-5759: Use after free in HTML select elements. Reported by Almog Benin on 2018-12-05 + * CVE-2019-5760: Use after free in WebRTC. Reported by Zhe Jin(金哲),Luyao Liu(刘路遥) from Chengdu Security Response Center of Qihoo 360 Technology Co. Ltd on 2018-12-05 + * CVE-2019-5761: Use after free in SwiftShader. Reported by Zhe Jin(金哲),Luyao Liu(刘路遥) from Chengdu Security Response Center of Qihoo 360 Technology Co. Ltd on 2018-11-13 + * CVE-2019-5762: Use after free in PDFium. Reported by Anonymous on 2018-10-31 + * CVE-2019-5763: Insufficient validation of untrusted input in V8. Reported by Guang Gong of Alpha Team, Qihoo 360 on 2018-12-13 + * CVE-2019-5764: Use after free in WebRTC. Reported by Eyal Itkin from Check Point Software Technologies on 2018-12-09 + * CVE-2019-5765: Insufficient policy enforcement in the browser. Reported by Sergey Toshin (@bagipro) on 2019-01-16 + * CVE-2019-5766: Insufficient policy enforcement in Canvas. Reported by David Erceg on 2018-11-20 + * CVE-2019-5767: Incorrect security UI in WebAPKs. Reported by Haoran Lu, Yifan Zhang, Luyi Xing, and Xiaojing Liao from Indiana University Bloomington on 2018-11-06 + * CVE-2019-5768: Insufficient policy enforcement in DevTools. Reported by Rob Wu on 2018-01-24 + * CVE-2019-5769: Insufficient validation of untrusted input in Blink. Reported by Guy Eshel on 2018-12-11 + * CVE-2019-5770: Heap buffer overflow in WebGL. Reported by hemidallt@ on 2018-11-27 + * CVE-2019-5771: Heap buffer overflow in SwiftShader. Reported by Zhe Jin(金哲),Luyao Liu(刘路遥) from Chengdu Security Response Center of Qihoo 360 Technology Co. Ltd on 2018-11-12 + * CVE-2019-5772: Use after free in PDFium. Reported by Zhen Zhou of NSFOCUS Security Team on 2018-11-26 + * CVE-2019-5773: Insufficient data validation in IndexedDB. Reported by Yongke Wang of Tencent's Xuanwu Lab (xlab.tencent.com) on 2018-12-24 + * CVE-2019-5774: Insufficient validation of untrusted input in SafeBrowsing. Reported by Junghwan Kang (ultract) and Juno Im on 2018-11-11 + * CVE-2019-5775: Insufficient policy enforcement in Omnibox. Reported by evi1m0 of Bilibili Security Team on 2018-10-18 + * CVE-2019-5776: Insufficient policy enforcement in Omnibox. Reported by Lnyas Zhang on 2018-07-14 + * CVE-2019-5777: Insufficient policy enforcement in Omnibox. Reported by Khalil Zhani on 2018-06-04 + * CVE-2019-5778: Insufficient policy enforcement in Extensions. Reported by David Erceg on 2019-01-02 + * CVE-2019-5779: Insufficient policy enforcement in ServiceWorker. Reported by David Erceg on 2018-11-11 + * CVE-2019-5780: Insufficient policy enforcement. Reported by Andreas Hegenberg (folivora.AI GmbH) on 2018-10-03 + * CVE-2019-5781: Insufficient policy enforcement in Omnibox. Reported by evi1m0 of Bilibili Security Team on 2018-10-18 +- Added patches: + * chromium-crashpad-fix_aarch64.patch + * chromium-fix_swiftshader.patch + * chromium-webrtc-includes.patch +- Obsoleted patches: + * chromium-gcc8-alignof.patch + * chromium-initialize-list.patch +- Updated patches: + * chromium-dma-buf.patch + * chromium-non-void-return.patch + * chromium-skia-system-fontconfig.patch + * chromium-system-icu.patch + * chromium-vaapi.patch +- Try to reduce constraints to avoid being so much just in + scheduled state + + +------------------------------------------------------------------- Old: ---- chromium-71.0.3578.98.tar.xz chromium-gcc8-alignof.patch chromium-initialize-list.patch New: ---- chromium-72.0.3626.81.tar.xz chromium-crashpad-fix_aarch64.patch chromium-fix_swiftshader.patch chromium-webrtc-includes.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ chromium.spec ++++++ --- /var/tmp/diff_new_pack.csxfrR/_old 2019-02-08 12:10:01.177545382 +0100 +++ /var/tmp/diff_new_pack.csxfrR/_new 2019-02-08 12:10:01.177545382 +0100 @@ -25,7 +25,7 @@ %else %bcond_without sle_bundles %endif -%if 0%{?suse_version} >= 1500 +%if 0%{?suse_version} > 1500 %bcond_without system_libxml %bcond_without system_icu %bcond_with system_harfbuzz @@ -42,7 +42,7 @@ %bcond_with system_vpx %bcond_with clang Name: chromium -Version: 71.0.3578.98 +Version: 72.0.3626.81 Release: 0 Summary: Google's open source browser project License: BSD-3-Clause AND LGPL-2.1-or-later @@ -71,13 +71,15 @@ Patch6: chromium-non-void-return.patch Patch7: chromium-drm.patch Patch8: chromium-sandbox-pie.patch -Patch9: chromium-gcc8-alignof.patch -Patch10: chromium-system-icu.patch -Patch11: chromium-system-libusb.patch -Patch12: chromium-old-glibc.patch -Patch13: chromium-initialize-list.patch -Patch14: chromium-skia-aarch64-buildfix.patch -Patch15: chromium-old-libva.patch +Patch9: chromium-system-icu.patch +Patch10: chromium-system-libusb.patch +Patch11: chromium-old-glibc.patch +Patch12: chromium-skia-aarch64-buildfix.patch +Patch13: chromium-old-libva.patch +# GCC does not support -Wno-error=header-hygiene flag +Patch14: chromium-fix_swiftshader.patch +Patch15: chromium-webrtc-includes.patch +Patch16: chromium-crashpad-fix_aarch64.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 @@ -222,7 +224,7 @@ BuildRequires: pkgconfig(zlib) %endif %if %{with system_icu} -BuildRequires: pkgconfig(icu-i18n) >= 59.0 +BuildRequires: pkgconfig(icu-i18n) >= 62.0 %endif %if %{with system_vpx} BuildRequires: pkgconfig(vpx) >= 1.6.1 @@ -285,13 +287,11 @@ net/third_party/quic net/third_party/spdy net/third_party/uri_template - third_party/WebKit third_party/abseil-cpp - third_party/analytics third_party/angle - third_party/apple_apsl third_party/angle/src/common/third_party/base third_party/angle/src/common/third_party/smhasher + third_party/angle/src/common/third_party/xxhash third_party/angle/src/third_party/compiler third_party/angle/src/third_party/libXNVCtrl third_party/angle/src/third_party/trace_event @@ -302,6 +302,7 @@ third_party/angle/third_party/vulkan-loader third_party/angle/third_party/vulkan-tools third_party/angle/third_party/vulkan-validation-layers + third_party/apple_apsl third_party/blink third_party/boringssl third_party/boringssl/src/third_party/fiat @@ -322,6 +323,7 @@ third_party/ced third_party/cld_3 third_party/crashpad + third_party/closure_compiler third_party/crashpad/crashpad/third_party/zlib third_party/crc32c third_party/cros_system_api @@ -331,7 +333,6 @@ third_party/flatbuffers third_party/flot third_party/glslang - third_party/glslang-angle third_party/google_input_tools third_party/google_input_tools/third_party/closure_library third_party/google_input_tools/third_party/closure_library/third_party/closure @@ -366,6 +367,7 @@ third_party/metrics_proto third_party/minigbm third_party/modp_b64 + third_party/nasm third_party/node third_party/node/node_modules/polymer-bundler/lib/third_party/UglifyJS2 third_party/openh264 @@ -400,16 +402,15 @@ third_party/smhasher third_party/spirv-headers third_party/SPIRV-Tools - third_party/spirv-tools-angle third_party/sqlite third_party/swiftshader + third_party/swiftshader/third_party/llvm-7.0 third_party/swiftshader/third_party/llvm-subzero third_party/swiftshader/third_party/subzero third_party/tcmalloc third_party/unrar third_party/usrsctp third_party/vulkan - third_party/vulkan-validation-layers third_party/wayland third_party/wayland-protocols third_party/web-animations-js @@ -497,7 +498,7 @@ %endif %endif # do not eat all memory -%limit_build -m 1900 +%limit_build -m 2100 # Set system libraries to be used gn_system_libraries=( ++++++ _constraints ++++++ --- /var/tmp/diff_new_pack.csxfrR/_old 2019-02-08 12:10:01.221545366 +0100 +++ /var/tmp/diff_new_pack.csxfrR/_new 2019-02-08 12:10:01.221545366 +0100 @@ -2,20 +2,10 @@ <constraints> <hardware> <disk> - <size unit="G">20</size> + <size unit="G">16</size> </disk> <memory> - <size unit="G">12</size> + <size unit="G">8</size> </memory> </hardware> - <overwrite> - <conditions> - <arch>aarch64</arch> - </conditions> - <hardware> - <memory> - <size unit="G">10</size> - </memory> - </hardware> - </overwrite> </constraints> ++++++ chromium-71.0.3578.98.tar.xz -> chromium-72.0.3626.81.tar.xz ++++++ /work/SRC/openSUSE:Factory/chromium/chromium-71.0.3578.98.tar.xz /work/SRC/openSUSE:Factory/.chromium.new.28833/chromium-72.0.3626.81.tar.xz differ: char 26, line 1 ++++++ chromium-crashpad-fix_aarch64.patch ++++++ --- chromium-72.0.3626.53.orig/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.cc 2019-01-15 15:40:53.620448747 +0100 +++ chromium-72.0.3626.53/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.cc 2019-01-15 15:51:40.013732784 +0100 @@ -14,6 +14,7 @@ #include "snapshot/linux/cpu_context_linux.h" +#include <limits> #include <stddef.h> #include <string.h> ++++++ chromium-dma-buf.patch ++++++ --- /var/tmp/diff_new_pack.csxfrR/_old 2019-02-08 12:10:01.329545325 +0100 +++ /var/tmp/diff_new_pack.csxfrR/_new 2019-02-08 12:10:01.329545325 +0100 @@ -1,10 +1,10 @@ -Index: chromium-60.0.3088.3/ui/gfx/linux/client_native_pixmap_dmabuf.cc +Index: chromium-72.0.3626.7/ui/gfx/linux/client_native_pixmap_dmabuf.cc =================================================================== ---- chromium-60.0.3088.3.orig/ui/gfx/linux/client_native_pixmap_dmabuf.cc -+++ chromium-60.0.3088.3/ui/gfx/linux/client_native_pixmap_dmabuf.cc -@@ -19,9 +19,6 @@ - #include "base/strings/stringprintf.h" +--- chromium-72.0.3626.7.orig/ui/gfx/linux/client_native_pixmap_dmabuf.cc ++++ chromium-72.0.3626.7/ui/gfx/linux/client_native_pixmap_dmabuf.cc +@@ -18,9 +18,6 @@ #include "base/trace_event/trace_event.h" + #include "build/build_config.h" -#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) -#include <linux/dma-buf.h> @@ -12,7 +12,7 @@ #include <linux/types.h> struct dma_buf_sync { -@@ -36,7 +33,6 @@ struct dma_buf_sync { +@@ -35,7 +32,6 @@ struct dma_buf_sync { #define DMA_BUF_BASE 'b' #define DMA_BUF_IOCTL_SYNC _IOW(DMA_BUF_BASE, 0, struct dma_buf_sync) ++++++ chromium-fix_swiftshader.patch ++++++ --- a/third_party/swiftshader/third_party/llvm-7.0/BUILD.gn 2018-12-05 21:16:54.000000000 +0100 +++ b/third_party/swiftshader/third_party/llvm-7.0/BUILD.gn 2018-12-12 22:18:05.807964026 +0100 @@ -70,7 +70,6 @@ config("swiftshader_llvm_private_config" "-Wno-unused-private-field", "-Wno-unused-result", "-Wno-unused-variable", - "-Wno-error=header-hygiene", ] defines = [ ++++++ chromium-non-void-return.patch ++++++ ++++ 2102 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/chromium/chromium-non-void-return.patch ++++ and /work/SRC/openSUSE:Factory/.chromium.new.28833/chromium-non-void-return.patch ++++++ chromium-skia-system-fontconfig.patch ++++++ --- /var/tmp/diff_new_pack.csxfrR/_old 2019-02-08 12:10:01.377545308 +0100 +++ /var/tmp/diff_new_pack.csxfrR/_new 2019-02-08 12:10:01.377545308 +0100 @@ -1,6 +1,8 @@ ---- chromium-70.0.3521.2.old/third_party/skia/src/ports/SkFontHost_FreeType.cpp 2018-08-15 12:41:22.092005379 +0200 -+++ chromium-70.0.3521.2/third_party/skia/src/ports/SkFontHost_FreeType.cpp 2018-08-15 12:42:17.444986032 +0200 -@@ -115,8 +115,6 @@ +Index: chromium-72.0.3608.4/third_party/skia/src/ports/SkFontHost_FreeType.cpp +=================================================================== +--- chromium-72.0.3608.4.orig/third_party/skia/src/ports/SkFontHost_FreeType.cpp ++++ chromium-72.0.3608.4/third_party/skia/src/ports/SkFontHost_FreeType.cpp +@@ -121,8 +121,6 @@ public: : fGetVarDesignCoordinates(nullptr) , fGetVarAxisFlags(nullptr) , fLibrary(nullptr) @@ -9,7 +11,7 @@ { if (FT_New_Library(&gFTMemory, &fLibrary)) { return; -@@ -176,12 +174,7 @@ +@@ -182,12 +180,7 @@ public: } #endif @@ -23,7 +25,7 @@ } ~FreeTypeLibrary() { if (fLibrary) { -@@ -190,8 +183,6 @@ +@@ -196,8 +189,6 @@ public: } FT_Library library() { return fLibrary; } @@ -32,7 +34,7 @@ // FT_Get_{MM,Var}_{Blend,Design}_Coordinates were added in FreeType 2.7.1. // Prior to this there was no way to get the coordinates out of the FT_Face. -@@ -208,8 +199,6 @@ +@@ -214,8 +205,6 @@ public: private: FT_Library fLibrary; @@ -41,7 +43,7 @@ // FT_Library_SetLcdFilterWeights was introduced in FreeType 2.4.0. // The following platforms provide FreeType of at least 2.4.0. -@@ -707,17 +696,6 @@ +@@ -713,17 +702,6 @@ void SkTypeface_FreeType::onFilterRec(Sk rec->fTextSize = SkIntToScalar(1 << 14); } @@ -56,10 +58,10 @@ - unref_ft_library(); - } - - SkPaint::Hinting h = rec->getHinting(); - if (SkPaint::kFull_Hinting == h && !isLCD(*rec)) { + SkFontHinting h = rec->getHinting(); + if (kFull_SkFontHinting == h && !isLCD(*rec)) { // collapse full->normal hinting if we're not doing LCD -@@ -1117,11 +1095,11 @@ +@@ -1137,11 +1115,11 @@ bool SkScalerContext_FreeType::getCBoxFo void SkScalerContext_FreeType::updateGlyphIfLCD(SkGlyph* glyph) { if (glyph->fMaskFormat == SkMask::kLCD16_Format) { if (fLCDIsVert) { ++++++ chromium-system-icu.patch ++++++ --- /var/tmp/diff_new_pack.csxfrR/_old 2019-02-08 12:10:01.397545300 +0100 +++ /var/tmp/diff_new_pack.csxfrR/_new 2019-02-08 12:10:01.397545300 +0100 @@ -1,11 +1,11 @@ ---- chromium-70.0.3521.2.old/third_party/blink/renderer/platform/text/character_property_data_generator.h 2018-08-15 12:41:21.091987662 +0200 -+++ chromium-70.0.3521.2/third_party/blink/renderer/platform/text/character_property_data_generator.h 2018-08-17 12:37:45.459538308 +0200 -@@ -247,7 +247,7 @@ +--- chromium-72.0.3626.7.orig/third_party/blink/renderer/platform/text/character_property_data.h 2018-12-12 14:38:52.691743205 +0100 ++++ chromium-72.0.3626.7/third_party/blink/renderer/platform/text/character_property_data.h 2018-12-12 14:49:27.320195000 +0100 +@@ -247,7 +247,7 @@ static const UChar32 kIsHangulRanges[] = 0xFFA0, 0xFFDC, }; -static const UChar32 kIsHangulArray[] = {}; +static const UChar32 kIsHangulArray[] = {0xFFDC,}; - } // namespace blink - + #if !defined(USING_SYSTEM_ICU) + // Freezed trie tree, see character_property_data_generator.cc. ++++++ chromium-vaapi.patch ++++++ --- /var/tmp/diff_new_pack.csxfrR/_old 2019-02-08 12:10:01.413545294 +0100 +++ /var/tmp/diff_new_pack.csxfrR/_new 2019-02-08 12:10:01.413545294 +0100 @@ -1,8 +1,7 @@ -diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc -index 0faee72af1c4..8592e86c2b33 100644 ---- a/chrome/browser/about_flags.cc -+++ b/chrome/browser/about_flags.cc -@@ -1795,7 +1795,7 @@ const FeatureEntry kFeatureEntries[] = { +diff -purN a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc +--- a/chrome/browser/about_flags.cc 2018-12-05 21:13:11.000000000 +0100 ++++ b/chrome/browser/about_flags.cc 2018-12-12 18:06:59.209064675 +0100 +@@ -1714,7 +1714,7 @@ const FeatureEntry kFeatureEntries[] = { "disable-accelerated-video-decode", flag_descriptions::kAcceleratedVideoDecodeName, flag_descriptions::kAcceleratedVideoDecodeDescription, @@ -11,7 +10,7 @@ SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedVideoDecode), }, #if defined(OS_WIN) -@@ -2454,12 +2454,12 @@ const FeatureEntry kFeatureEntries[] = { +@@ -2345,12 +2345,12 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(service_manager::features::kXRSandbox)}, #endif // ENABLE_ISOLATED_XR_SERVICE #endif // ENABLE_VR @@ -27,11 +26,10 @@ {"v8-cache-options", flag_descriptions::kV8CacheOptionsName, flag_descriptions::kV8CacheOptionsDescription, kOsAll, MULTI_VALUE_TYPE(kV8CacheOptionsChoices)}, -diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc -index 69887814c701..9cea71d16c57 100644 ---- a/chrome/browser/flag_descriptions.cc -+++ b/chrome/browser/flag_descriptions.cc -@@ -3010,7 +3010,7 @@ const char kTextSuggestionsTouchBarDescription[] = +diff -purN a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc +--- a/chrome/browser/flag_descriptions.cc 2018-12-05 21:13:13.000000000 +0100 ++++ b/chrome/browser/flag_descriptions.cc 2018-12-12 18:06:59.209064675 +0100 +@@ -3082,7 +3082,7 @@ const char kTextSuggestionsTouchBarDescr // Chrome OS ------------------------------------------------------------------- @@ -40,7 +38,7 @@ const char kAcceleratedMjpegDecodeName[] = "Hardware-accelerated mjpeg decode for captured frame"; -@@ -3557,7 +3557,7 @@ const char kWakeOnPacketsName[] = "Wake On Packets"; +@@ -3687,7 +3687,7 @@ const char kWakeOnPacketsName[] = "Wake const char kWakeOnPacketsDescription[] = "Enables waking the device based on the receipt of some network packets."; @@ -49,11 +47,10 @@ // Random platform combinations ----------------------------------------------- -diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h -index d80c51660ae5..1eae73713506 100644 ---- a/chrome/browser/flag_descriptions.h -+++ b/chrome/browser/flag_descriptions.h -@@ -1827,13 +1827,17 @@ extern const char kPermissionPromptPersistenceToggleDescription[]; +diff -purN a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h +--- a/chrome/browser/flag_descriptions.h 2018-12-05 21:13:13.000000000 +0100 ++++ b/chrome/browser/flag_descriptions.h 2018-12-12 18:06:59.209064675 +0100 +@@ -1843,13 +1843,17 @@ extern const char kPermissionPromptPersi #endif // defined(OS_MACOSX) @@ -74,11 +71,10 @@ extern const char kAllowTouchpadThreeFingerClickName[]; extern const char kAllowTouchpadThreeFingerClickDescription[]; -diff --git a/components/viz/service/main/viz_main_impl.cc b/components/viz/service/main/viz_main_impl.cc -index 6f5f55de7588..62f42c240219 100644 ---- a/components/viz/service/main/viz_main_impl.cc -+++ b/components/viz/service/main/viz_main_impl.cc -@@ -41,7 +41,7 @@ std::unique_ptr<base::Thread> CreateAndStartIOThread() { +diff -purN a/components/viz/service/main/viz_main_impl.cc b/components/viz/service/main/viz_main_impl.cc +--- a/components/viz/service/main/viz_main_impl.cc 2018-12-05 21:13:27.000000000 +0100 ++++ b/components/viz/service/main/viz_main_impl.cc 2018-12-12 18:06:59.209064675 +0100 +@@ -41,7 +41,7 @@ std::unique_ptr<base::Thread> CreateAndS // It should be possible to use |main_task_runner_| for doing IO tasks. base::Thread::Options thread_options(base::MessageLoop::TYPE_IO, 0); thread_options.priority = base::ThreadPriority::NORMAL; @@ -87,10 +83,9 @@ // TODO(reveman): Remove this in favor of setting it explicitly for each // type of process. thread_options.priority = base::ThreadPriority::DISPLAY; -diff --git a/content/gpu/BUILD.gn b/content/gpu/BUILD.gn -index 8974e441d1ba..af7c57f3963c 100644 ---- a/content/gpu/BUILD.gn -+++ b/content/gpu/BUILD.gn +diff -purN a/content/gpu/BUILD.gn b/content/gpu/BUILD.gn +--- a/content/gpu/BUILD.gn 2018-12-05 21:13:29.000000000 +0100 ++++ b/content/gpu/BUILD.gn 2018-12-12 18:06:59.209064675 +0100 @@ -6,6 +6,7 @@ import("//build/config/jumbo.gni") import("//build/config/ui.gni") import("//gpu/vulkan/features.gni") @@ -99,7 +94,7 @@ import("//ui/ozone/ozone.gni") # See //content/BUILD.gn for how this works. -@@ -49,7 +50,6 @@ target(link_target_type, "gpu_sources") { +@@ -49,7 +50,6 @@ target(link_target_type, "gpu_sources") ] configs += [ "//content:content_implementation" ] @@ -107,7 +102,7 @@ deps = [ "//base", "//base/third_party/dynamic_annotations", -@@ -134,4 +134,8 @@ target(link_target_type, "gpu_sources") { +@@ -136,4 +136,8 @@ target(link_target_type, "gpu_sources") (!is_chromecast || is_cast_desktop_build)) { configs += [ "//build/config/linux/dri" ] } @@ -116,11 +111,10 @@ + public_configs = [ "//media/gpu:libva_config" ] + } } -diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc -index 8397889b61e2..2632f3976377 100644 ---- a/content/gpu/gpu_main.cc -+++ b/content/gpu/gpu_main.cc -@@ -284,7 +284,7 @@ int GpuMain(const MainFunctionParams& parameters) { +diff -purN a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc +--- a/content/gpu/gpu_main.cc 2018-12-05 21:13:29.000000000 +0100 ++++ b/content/gpu/gpu_main.cc 2018-12-12 18:06:59.213064704 +0100 +@@ -284,7 +284,7 @@ int GpuMain(const MainFunctionParams& pa base::PlatformThread::SetName("CrGpuMain"); @@ -129,7 +123,7 @@ // Set thread priority before sandbox initialization. base::PlatformThread::SetCurrentThreadPriority(base::ThreadPriority::DISPLAY); #endif -@@ -317,7 +317,7 @@ int GpuMain(const MainFunctionParams& parameters) { +@@ -317,7 +317,7 @@ int GpuMain(const MainFunctionParams& pa GetContentClient()->SetGpuInfo(gpu_init->gpu_info()); base::ThreadPriority io_thread_priority = base::ThreadPriority::NORMAL; @@ -138,15 +132,13 @@ io_thread_priority = base::ThreadPriority::DISPLAY; #endif -diff --git a/gpu/config/software_rendering_list.json b/gpu/config/software_rendering_list.json -index cb6118b6a4ec..7b8ea0f75881 100644 ---- a/gpu/config/software_rendering_list.json -+++ b/gpu/config/software_rendering_list.json -@@ -369,17 +369,6 @@ - "all" +diff -purN a/gpu/config/software_rendering_list.json b/gpu/config/software_rendering_list.json +--- a/gpu/config/software_rendering_list.json 2018-12-05 21:13:33.000000000 +0100 ++++ b/gpu/config/software_rendering_list.json 2018-12-12 18:06:59.213064704 +0100 +@@ -370,17 +370,6 @@ ] }, -- { + { - "id": 48, - "description": "Accelerated video decode is unavailable on Linux", - "cr_bugs": [137247], @@ -157,14 +149,14 @@ - "accelerated_video_decode" - ] - }, - { +- { "id": 50, "description": "Disable VMware software renderer on older Mesa", -diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc -index f5b922f73cd3..916a746de835 100644 ---- a/media/base/media_switches.cc -+++ b/media/base/media_switches.cc -@@ -499,7 +499,7 @@ bool IsVideoCaptureAcceleratedJpegDecodingEnabled() { + "cr_bugs": [145531, 332596, 571899, 629434], +diff -purN a/media/base/media_switches.cc b/media/base/media_switches.cc +--- a/media/base/media_switches.cc 2018-12-05 21:13:37.000000000 +0100 ++++ b/media/base/media_switches.cc 2018-12-12 18:06:59.213064704 +0100 +@@ -496,7 +496,7 @@ bool IsVideoCaptureAcceleratedJpegDecodi switches::kUseFakeJpegDecodeAccelerator)) { return true; } @@ -173,10 +165,9 @@ return true; #endif return false; -diff --git a/media/filters/BUILD.gn b/media/filters/BUILD.gn -index d558b537a0a4..8e387d8203ac 100644 ---- a/media/filters/BUILD.gn -+++ b/media/filters/BUILD.gn +diff -purN a/media/filters/BUILD.gn b/media/filters/BUILD.gn +--- a/media/filters/BUILD.gn 2018-12-05 21:13:37.000000000 +0100 ++++ b/media/filters/BUILD.gn 2018-12-12 18:06:59.213064704 +0100 @@ -5,6 +5,7 @@ import("//build/config/jumbo.gni") import("//media/media_options.gni") @@ -194,11 +185,10 @@ sources += [ "h264_bitstream_buffer.cc", "h264_bitstream_buffer.h", -diff --git a/media/gpu/BUILD.gn b/media/gpu/BUILD.gn -index 07bfdefda523..7e33cd747614 100644 ---- a/media/gpu/BUILD.gn -+++ b/media/gpu/BUILD.gn -@@ -508,6 +508,12 @@ if (use_v4l2_codec || use_vaapi || is_mac || is_win) { +diff -purN a/media/gpu/BUILD.gn b/media/gpu/BUILD.gn +--- a/media/gpu/BUILD.gn 2018-12-05 21:13:37.000000000 +0100 ++++ b/media/gpu/BUILD.gn 2018-12-12 18:07:39.317348062 +0100 +@@ -506,6 +506,12 @@ if (use_v4l2_codec || use_vaapi || is_ma } } @@ -208,10 +198,10 @@ + packages = [ "libva" ] +} + - if (use_vaapi) { + if (use_v4l2_codec || use_vaapi) { test("jpeg_encode_accelerator_unittest") { deps = [ -@@ -578,6 +584,7 @@ if (is_chromeos || is_linux) { +@@ -576,6 +582,7 @@ if (is_chromeos || is_linux) { if (use_ozone) { deps += [ "//ui/ozone" ] } @@ -219,11 +209,10 @@ } } -diff --git a/media/gpu/gpu_video_decode_accelerator_factory.cc b/media/gpu/gpu_video_decode_accelerator_factory.cc -index 67ba4daed787..8815ba896a45 100644 ---- a/media/gpu/gpu_video_decode_accelerator_factory.cc -+++ b/media/gpu/gpu_video_decode_accelerator_factory.cc -@@ -56,6 +56,7 @@ gpu::VideoDecodeAcceleratorCapabilities GetDecoderCapabilitiesInternal( +diff -purN a/media/gpu/gpu_video_decode_accelerator_factory.cc b/media/gpu/gpu_video_decode_accelerator_factory.cc +--- a/media/gpu/gpu_video_decode_accelerator_factory.cc 2018-12-05 21:13:37.000000000 +0100 ++++ b/media/gpu/gpu_video_decode_accelerator_factory.cc 2018-12-12 18:06:59.213064704 +0100 +@@ -56,6 +56,7 @@ gpu::VideoDecodeAcceleratorCapabilities // profile (instead of calculating a superset). // TODO(posciak,henryhsu): improve this so that we choose a superset of // resolutions and other supported profile parameters. @@ -231,11 +220,10 @@ VideoDecodeAccelerator::Capabilities capabilities; #if defined(OS_WIN) capabilities.supported_profiles = -diff --git a/media/gpu/vaapi/vaapi_wrapper.cc b/media/gpu/vaapi/vaapi_wrapper.cc -index 34a733c4a9c0..72a1816743cd 100644 ---- a/media/gpu/vaapi/vaapi_wrapper.cc -+++ b/media/gpu/vaapi/vaapi_wrapper.cc -@@ -339,7 +339,7 @@ bool VADisplayState::InitializeOnce() { +diff -purN a/media/gpu/vaapi/vaapi_wrapper.cc b/media/gpu/vaapi/vaapi_wrapper.cc +--- a/media/gpu/vaapi/vaapi_wrapper.cc 2018-12-05 21:13:37.000000000 +0100 ++++ b/media/gpu/vaapi/vaapi_wrapper.cc 2018-12-12 18:06:59.213064704 +0100 +@@ -333,7 +333,7 @@ bool VADisplayState::InitializeOnce() { DVLOG(1) << "VAAPI version: " << major_version << "." << minor_version << " " << va_vendor_string_; @@ -244,7 +232,7 @@ LOG(ERROR) << "This build of Chromium requires VA-API version " << VA_MAJOR_VERSION << "." << VA_MINOR_VERSION << ", system version: " << major_version << "." << minor_version; -@@ -969,7 +969,11 @@ scoped_refptr<VASurface> VaapiWrapper::CreateVASurfaceForPixmap( +@@ -1000,7 +1000,11 @@ scoped_refptr<VASurface> VaapiWrapper::C } va_attrib_extbuf.num_planes = num_planes; ++++++ chromium-webrtc-includes.patch ++++++ ++++ 16754 lines (skipped)
