chromium: 61.0.3163.100 -> 62.0.3202.62

Also updated most of patches according to their state in Gentoo
repository, deleted ones that are not applicable anymore.

authored by Yuriy Taraday and committed by Herwig Hochleitner f0a0f02b 2656237a

+306 -198
+3 -11
pkgs/applications/networking/browsers/chromium/common.nix
··· 133 133 # https://gitweb.gentoo.org/repo/gentoo.git/plain/www-client/chromium/ 134 134 # https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/chromium 135 135 # for updated patches and hints about build flags 136 - ++ optionals (versionRange "61" "62") [ 137 - ./patches/chromium-gn-bootstrap-r14.patch 138 - ./patches/chromium-gcc-r1.patch 139 - ./patches/chromium-atk-r1.patch 140 - ./patches/chromium-gcc5-r1.patch 141 - ] 142 136 ++ optionals (versionRange "62" "63") [ 143 137 ./patches/chromium-gn-bootstrap-r17.patch 144 - ./patches/chromium-gcc5-r2.patch 138 + ./patches/chromium-gcc5-r3.patch 145 139 ./patches/chromium-glibc2.26-r1.patch 146 140 ] 147 141 ++ optionals (versionAtLeast version "63") [ 148 - ./patches/chromium-gn-bootstrap-r19.patch 149 - ./patches/chromium-gcc5-r2.patch 150 - ./patches/chromium-glibc2.26-r1.patch 151 - ./patches/chromium-sysroot-r1.patch 142 + ./patches/chromium-gcc5-r4.patch 143 + ./patches/constexpr-fix.patch 152 144 ] 153 145 ++ optional enableWideVine ./patches/widevine.patch; 154 146
-11
pkgs/applications/networking/browsers/chromium/patches/chromium-atk-r1.patch
··· 1 - --- a/content/browser/accessibility/browser_accessibility_auralinux.cc.orig 2017-07-27 06:28:01.090257874 +0000 2 - +++ b/content/browser/accessibility/browser_accessibility_auralinux.cc 2017-07-27 06:28:21.174653680 +0000 3 - @@ -571,7 +571,7 @@ 4 - // it's best to leave this out rather than break people's builds: 5 - #if defined(ATK_CHECK_VERSION) 6 - #if ATK_CHECK_VERSION(2, 16, 0) 7 - - atk_state_set_add_state(atk_state_set, ATK_STATE_READ_ONLY); 8 - + atk_state_set_add_state(state_set, ATK_STATE_READ_ONLY); 9 - #endif 10 - #endif 11 - break;
-14
pkgs/applications/networking/browsers/chromium/patches/chromium-gcc-r1.patch
··· 1 - diff --git a/base/numerics/safe_math_shared_impl.h b/base/numerics/safe_math_shared_impl.h 2 - index 99f230ce7e9a..de2415d402f5 100644 3 - --- a/base/numerics/safe_math_shared_impl.h 4 - +++ b/base/numerics/safe_math_shared_impl.h 5 - @@ -21,8 +21,7 @@ 6 - #if !defined(__native_client__) && \ 7 - ((defined(__clang__) && \ 8 - ((__clang_major__ > 3) || \ 9 - - (__clang_major__ == 3 && __clang_minor__ >= 4))) || \ 10 - - (defined(__GNUC__) && __GNUC__ >= 5)) 11 - + (__clang_major__ == 3 && __clang_minor__ >= 4)))) 12 - #include "base/numerics/safe_math_clang_gcc_impl.h" 13 - #define BASE_HAS_OPTIMIZED_SAFE_MATH (1) 14 - #else
-66
pkgs/applications/networking/browsers/chromium/patches/chromium-gcc5-r1.patch
··· 1 - --- a/chrome/browser/devtools/devtools_file_system_indexer.cc 2 - +++ b/chrome/browser/devtools/devtools_file_system_indexer.cc 3 - @@ -34,7 +34,6 @@ using base::TimeDelta; 4 - using base::TimeTicks; 5 - using content::BrowserThread; 6 - using std::map; 7 - -using std::set; 8 - using std::string; 9 - using std::vector; 10 - 11 - @@ -191,7 +190,7 @@ vector<FilePath> Index::Search(const string& query) { 12 - if (trigram != kUndefinedTrigram) 13 - trigrams.push_back(trigram); 14 - } 15 - - set<FileId> file_ids; 16 - + std::set<FileId> file_ids; 17 - bool first = true; 18 - vector<Trigram>::const_iterator it = trigrams.begin(); 19 - for (; it != trigrams.end(); ++it) { 20 - @@ -203,7 +202,7 @@ vector<FilePath> Index::Search(const string& query) { 21 - first = false; 22 - continue; 23 - } 24 - - set<FileId> intersection = base::STLSetIntersection<set<FileId> >( 25 - + std::set<FileId> intersection = base::STLSetIntersection<std::set<FileId> >( 26 - file_ids, index_[trigram]); 27 - file_ids.swap(intersection); 28 - } 29 - diff --git a/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferContents.h b/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferContents.h 30 - index 94bb9161ec85..e40c6387f72e 100644 31 - --- a/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferContents.h 32 - +++ b/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferContents.h 33 - @@ -63,7 +63,7 @@ class WTF_EXPORT ArrayBufferContents { 34 - allocation_length_(0), 35 - data_(data), 36 - data_length_(0), 37 - - kind_(AllocationKind::kNormal), 38 - + kind_(WTF::ArrayBufferContents::AllocationKind::kNormal), 39 - deleter_(deleter) {} 40 - DataHandle(void* allocation_base, 41 - size_t allocation_length, 42 - @@ -94,11 +94,11 @@ class WTF_EXPORT ArrayBufferContents { 43 - reinterpret_cast<uintptr_t>(allocation_base_) + 44 - allocation_length_); 45 - switch (kind_) { 46 - - case AllocationKind::kNormal: 47 - + case WTF::ArrayBufferContents::AllocationKind::kNormal: 48 - DCHECK(deleter_); 49 - deleter_(data_); 50 - return; 51 - - case AllocationKind::kReservation: 52 - + case WTF::ArrayBufferContents::AllocationKind::kReservation: 53 - ReleaseReservedMemory(allocation_base_, allocation_length_); 54 - return; 55 - } 56 - --- a/third_party/webrtc/modules/audio_processing/aec3/aec_state.cc.orig 2017-08-15 12:45:59.433532111 +0000 57 - +++ b/third_party/webrtc/modules/audio_processing/aec3/aec_state.cc 2017-08-15 17:52:59.691328825 +0000 58 - @@ -10,7 +10,7 @@ 59 - 60 - #include "webrtc/modules/audio_processing/aec3/aec_state.h" 61 - 62 - -#include <math.h> 63 - +#include <cmath> 64 - #include <numeric> 65 - #include <vector> 66 -
-36
pkgs/applications/networking/browsers/chromium/patches/chromium-gcc5-r2.patch
··· 1 - --- a/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferContents.h 2 - +++ b/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferContents.h 3 - @@ -63,7 +63,7 @@ class WTF_EXPORT ArrayBufferContents { 4 - allocation_length_(0), 5 - data_(data), 6 - data_length_(0), 7 - - kind_(AllocationKind::kNormal), 8 - + kind_(WTF::ArrayBufferContents::AllocationKind::kNormal), 9 - deleter_(deleter) {} 10 - DataHandle(void* allocation_base, 11 - size_t allocation_length, 12 - @@ -94,11 +94,11 @@ class WTF_EXPORT ArrayBufferContents { 13 - reinterpret_cast<uintptr_t>(allocation_base_) + 14 - allocation_length_); 15 - switch (kind_) { 16 - - case AllocationKind::kNormal: 17 - + case WTF::ArrayBufferContents::AllocationKind::kNormal: 18 - DCHECK(deleter_); 19 - deleter_(data_); 20 - return; 21 - - case AllocationKind::kReservation: 22 - + case WTF::ArrayBufferContents::AllocationKind::kReservation: 23 - ReleaseReservedMemory(allocation_base_, allocation_length_); 24 - return; 25 - } 26 - --- a/third_party/webrtc/modules/audio_processing/aec3/aec_state.cc.orig 2017-08-15 12:45:59.433532111 +0000 27 - +++ b/third_party/webrtc/modules/audio_processing/aec3/aec_state.cc 2017-08-15 17:52:59.691328825 +0000 28 - @@ -10,7 +10,7 @@ 29 - 30 - #include "webrtc/modules/audio_processing/aec3/aec_state.h" 31 - 32 - -#include <math.h> 33 - +#include <cmath> 34 - #include <numeric> 35 - #include <vector> 36 -
+98
pkgs/applications/networking/browsers/chromium/patches/chromium-gcc5-r3.patch
··· 1 + --- a/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferContents.h 2 + +++ b/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferContents.h 3 + @@ -63,7 +63,7 @@ class WTF_EXPORT ArrayBufferContents { 4 + allocation_length_(0), 5 + data_(data), 6 + data_length_(0), 7 + - kind_(AllocationKind::kNormal), 8 + + kind_(WTF::ArrayBufferContents::AllocationKind::kNormal), 9 + deleter_(deleter) {} 10 + DataHandle(void* allocation_base, 11 + size_t allocation_length, 12 + @@ -94,11 +94,11 @@ class WTF_EXPORT ArrayBufferContents { 13 + reinterpret_cast<uintptr_t>(allocation_base_) + 14 + allocation_length_); 15 + switch (kind_) { 16 + - case AllocationKind::kNormal: 17 + + case WTF::ArrayBufferContents::AllocationKind::kNormal: 18 + DCHECK(deleter_); 19 + deleter_(data_); 20 + return; 21 + - case AllocationKind::kReservation: 22 + + case WTF::ArrayBufferContents::AllocationKind::kReservation: 23 + ReleaseReservedMemory(allocation_base_, allocation_length_); 24 + return; 25 + } 26 + --- a/third_party/webrtc/modules/audio_processing/aec3/aec_state.cc.orig 2017-08-15 12:45:59.433532111 +0000 27 + +++ b/third_party/webrtc/modules/audio_processing/aec3/aec_state.cc 2017-08-15 17:52:59.691328825 +0000 28 + @@ -10,7 +10,7 @@ 29 + 30 + #include "webrtc/modules/audio_processing/aec3/aec_state.h" 31 + 32 + -#include <math.h> 33 + +#include <cmath> 34 + #include <numeric> 35 + #include <vector> 36 + 37 + --- a/gpu/ipc/common/mailbox_struct_traits.h 38 + +++ b/gpu/ipc/common/mailbox_struct_traits.h 39 + @@ -15,7 +15,7 @@ namespace mojo { 40 + template <> 41 + struct StructTraits<gpu::mojom::MailboxDataView, gpu::Mailbox> { 42 + static base::span<const int8_t> name(const gpu::Mailbox& mailbox) { 43 + - return mailbox.name; 44 + + return base::make_span(mailbox.name); 45 + } 46 + static bool Read(gpu::mojom::MailboxDataView data, gpu::Mailbox* out); 47 + }; 48 + --- a/services/viz/public/cpp/compositing/filter_operation_struct_traits.h 49 + +++ b/services/viz/public/cpp/compositing/filter_operation_struct_traits.h 50 + @@ -134,7 +134,7 @@ struct StructTraits<viz::mojom::FilterOperationDataView, cc::FilterOperation> { 51 + static base::span<const float> matrix(const cc::FilterOperation& operation) { 52 + if (operation.type() != cc::FilterOperation::COLOR_MATRIX) 53 + return base::span<const float>(); 54 + - return operation.matrix(); 55 + + return base::make_span(operation.matrix()); 56 + } 57 + 58 + static base::span<const gfx::Rect> shape( 59 + --- a/services/viz/public/cpp/compositing/quads_struct_traits.h 60 + +++ b/services/viz/public/cpp/compositing/quads_struct_traits.h 61 + @@ -284,7 +284,7 @@ 62 + 63 + static base::span<const float> vertex_opacity(const cc::DrawQuad& input) { 64 + const cc::TextureDrawQuad* quad = cc::TextureDrawQuad::MaterialCast(&input); 65 + - return quad->vertex_opacity; 66 + + return base::make_span(quad->vertex_opacity); 67 + } 68 + 69 + static bool y_flipped(const cc::DrawQuad& input) { 70 + --- a/third_party/WebKit/Source/platform/exported/WebCORS.cpp 71 + +++ b/third_party/WebKit/Source/platform/exported/WebCORS.cpp 72 + @@ -480,7 +480,7 @@ WebString AccessControlErrorString( 73 + } 74 + default: 75 + NOTREACHED(); 76 + - return ""; 77 + + return WebString(); 78 + } 79 + } 80 + 81 + @@ -512,7 +512,7 @@ WebString PreflightErrorString(const PreflightStatus status, 82 + } 83 + default: 84 + NOTREACHED(); 85 + - return ""; 86 + + return WebString(); 87 + } 88 + } 89 + 90 + @@ -533,7 +533,7 @@ WebString RedirectErrorString(const RedirectStatus status, 91 + } 92 + default: 93 + NOTREACHED(); 94 + - return ""; 95 + + return WebString(); 96 + } 97 + } 98 +
+98
pkgs/applications/networking/browsers/chromium/patches/chromium-gcc5-r4.patch
··· 1 + --- a/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferContents.h 2 + +++ b/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferContents.h 3 + @@ -63,7 +63,7 @@ class WTF_EXPORT ArrayBufferContents { 4 + allocation_length_(0), 5 + data_(data), 6 + data_length_(0), 7 + - kind_(AllocationKind::kNormal), 8 + + kind_(WTF::ArrayBufferContents::AllocationKind::kNormal), 9 + deleter_(deleter) {} 10 + DataHandle(void* allocation_base, 11 + size_t allocation_length, 12 + @@ -94,11 +94,11 @@ class WTF_EXPORT ArrayBufferContents { 13 + reinterpret_cast<uintptr_t>(allocation_base_) + 14 + allocation_length_); 15 + switch (kind_) { 16 + - case AllocationKind::kNormal: 17 + + case WTF::ArrayBufferContents::AllocationKind::kNormal: 18 + DCHECK(deleter_); 19 + deleter_(data_); 20 + return; 21 + - case AllocationKind::kReservation: 22 + + case WTF::ArrayBufferContents::AllocationKind::kReservation: 23 + ReleaseReservedMemory(allocation_base_, allocation_length_); 24 + return; 25 + } 26 + --- a/third_party/webrtc/modules/audio_processing/aec3/aec_state.cc.orig 2017-08-15 12:45:59.433532111 +0000 27 + +++ b/third_party/webrtc/modules/audio_processing/aec3/aec_state.cc 2017-08-15 17:52:59.691328825 +0000 28 + @@ -10,7 +10,7 @@ 29 + 30 + #include "webrtc/modules/audio_processing/aec3/aec_state.h" 31 + 32 + -#include <math.h> 33 + +#include <cmath> 34 + #include <numeric> 35 + #include <vector> 36 + 37 + --- a/gpu/ipc/common/mailbox_struct_traits.h 38 + +++ b/gpu/ipc/common/mailbox_struct_traits.h 39 + @@ -15,7 +15,7 @@ namespace mojo { 40 + template <> 41 + struct StructTraits<gpu::mojom::MailboxDataView, gpu::Mailbox> { 42 + static base::span<const int8_t> name(const gpu::Mailbox& mailbox) { 43 + - return mailbox.name; 44 + + return base::make_span(mailbox.name); 45 + } 46 + static bool Read(gpu::mojom::MailboxDataView data, gpu::Mailbox* out); 47 + }; 48 + --- a/services/viz/public/cpp/compositing/filter_operation_struct_traits.h 49 + +++ b/services/viz/public/cpp/compositing/filter_operation_struct_traits.h 50 + @@ -134,7 +134,7 @@ struct StructTraits<viz::mojom::FilterOperationDataView, cc::FilterOperation> { 51 + static base::span<const float> matrix(const cc::FilterOperation& operation) { 52 + if (operation.type() != cc::FilterOperation::COLOR_MATRIX) 53 + return base::span<const float>(); 54 + - return operation.matrix(); 55 + + return base::make_span(operation.matrix()); 56 + } 57 + 58 + static base::span<const gfx::Rect> shape( 59 + --- a/services/viz/public/cpp/compositing/quads_struct_traits.h 60 + +++ b/services/viz/public/cpp/compositing/quads_struct_traits.h 61 + @@ -303,7 +303,7 @@ struct StructTraits<viz::mojom::TextureQuadStateDataView, viz::DrawQuad> { 62 + static base::span<const float> vertex_opacity(const viz::DrawQuad& input) { 63 + const viz::TextureDrawQuad* quad = 64 + viz::TextureDrawQuad::MaterialCast(&input); 65 + - return quad->vertex_opacity; 66 + + return base::make_span(quad->vertex_opacity); 67 + } 68 + 69 + static bool y_flipped(const viz::DrawQuad& input) { 70 + --- a/third_party/WebKit/Source/platform/exported/WebCORS.cpp 71 + +++ b/third_party/WebKit/Source/platform/exported/WebCORS.cpp 72 + @@ -480,7 +480,7 @@ WebString AccessControlErrorString( 73 + } 74 + default: 75 + NOTREACHED(); 76 + - return ""; 77 + + return WebString(); 78 + } 79 + } 80 + 81 + @@ -512,7 +512,7 @@ WebString PreflightErrorString(const PreflightStatus status, 82 + } 83 + default: 84 + NOTREACHED(); 85 + - return ""; 86 + + return WebString(); 87 + } 88 + } 89 + 90 + @@ -533,7 +533,7 @@ WebString RedirectErrorString(const RedirectStatus status, 91 + } 92 + default: 93 + NOTREACHED(); 94 + - return ""; 95 + + return WebString(); 96 + } 97 + } 98 +
-27
pkgs/applications/networking/browsers/chromium/patches/chromium-gn-bootstrap-r14.patch
··· 1 - commit 96c271f8ab2be7ea4199078ea65ac50c6ada4685 2 - Author: Pawel Hajdan, Jr <phajdan.jr@chromium.org> 3 - Date: Wed Jul 26 21:51:54 2017 +0000 4 - 5 - wip 6 - 7 - diff --git a/tools/gn/bootstrap/bootstrap.py b/tools/gn/bootstrap/bootstrap.py 8 - index 1390560f8e37..ff2ae57c46b0 100755 9 - --- a/tools/gn/bootstrap/bootstrap.py 10 - +++ b/tools/gn/bootstrap/bootstrap.py 11 - @@ -449,6 +449,7 @@ def write_gn_ninja(path, root_gen_dir, options): 12 - 'base/metrics/histogram_base.cc', 13 - 'base/metrics/histogram_functions.cc', 14 - 'base/metrics/histogram_samples.cc', 15 - + 'base/metrics/histogram_snapshot_manager.cc', 16 - 'base/metrics/metrics_hashes.cc', 17 - 'base/metrics/persistent_histogram_allocator.cc', 18 - 'base/metrics/persistent_memory_allocator.cc', 19 - @@ -534,7 +535,7 @@ def write_gn_ninja(path, root_gen_dir, options): 20 - 'base/trace_event/heap_profiler_allocation_context_tracker.cc', 21 - 'base/trace_event/heap_profiler_allocation_register.cc', 22 - 'base/trace_event/heap_profiler_event_filter.cc', 23 - - 'base/trace_event/heap_profiler_event_writer.cc', 24 - + 'base/trace_event/heap_profiler_heap_dump_writer.cc', 25 - 'base/trace_event/heap_profiler_serialization_state.cc', 26 - 'base/trace_event/heap_profiler_stack_frame_deduplicator.cc', 27 - 'base/trace_event/heap_profiler_type_name_deduplicator.cc',
-10
pkgs/applications/networking/browsers/chromium/patches/chromium-gn-bootstrap-r19.patch
··· 1 - --- a/tools/gn/bootstrap/bootstrap.py 2 - +++ b/tools/gn/bootstrap/bootstrap.py 3 - @@ -576,7 +576,6 @@ def write_gn_ninja(path, root_gen_dir, options): 4 - 'base/trace_event/trace_log.cc', 5 - 'base/trace_event/trace_log_constants.cc', 6 - 'base/trace_event/tracing_agent.cc', 7 - - 'base/tracked_objects.cc', 8 - 'base/unguessable_token.cc', 9 - 'base/value_iterators.cc', 10 - 'base/values.cc',
-14
pkgs/applications/networking/browsers/chromium/patches/chromium-sysroot-r1.patch
··· 1 - --- a/chrome/installer/BUILD.gn 2 - +++ b/chrome/installer/BUILD.gn 3 - @@ -3,9 +3,10 @@ 4 - # found in the LICENSE file. 5 - 6 - import("//build/config/chrome_build.gni") 7 - +import("//build/config/sysroot.gni") 8 - 9 - declare_args() { 10 - - enable_linux_installer = is_linux && !is_component_build 11 - + enable_linux_installer = is_linux && !is_component_build && use_sysroot 12 - } 13 - 14 - # Meta-target that forwards to the installer of the correct type (if any).
+98
pkgs/applications/networking/browsers/chromium/patches/constexpr-fix.patch
··· 1 + From aab2cc3a20af9ebe9ddb8dfd15089f131f95817f Mon Sep 17 00:00:00 2001 2 + From: Tomas Popela <tomas.popela@gmail.com> 3 + Date: Fri, 20 Oct 2017 14:06:42 +0200 4 + Subject: [PATCH] Fix the build of base/numerics with GCC 5 + 6 + Initialize the uninitialized variables where the build is failing. 7 + 8 + BUG=776705 9 + 10 + Change-Id: I5782e18086a752b3676f8738930bf0553f3f97ad 11 + --- 12 + base/numerics/checked_math_impl.h | 6 +++--- 13 + base/numerics/clamped_math_impl.h | 10 +++++----- 14 + 2 files changed, 8 insertions(+), 8 deletions(-) 15 + 16 + diff --git a/base/numerics/checked_math_impl.h b/base/numerics/checked_math_impl.h 17 + index 2926b37b5e..e083389ebf 100644 18 + --- a/base/numerics/checked_math_impl.h 19 + +++ b/base/numerics/checked_math_impl.h 20 + @@ -67,7 +67,7 @@ struct CheckedAddOp<T, 21 + return false; 22 + } 23 + 24 + - Promotion presult; 25 + + Promotion presult = {}; 26 + bool is_valid = true; 27 + if (IsIntegerArithmeticSafe<Promotion, T, U>::value) { 28 + presult = static_cast<Promotion>(x) + static_cast<Promotion>(y); 29 + @@ -127,7 +127,7 @@ struct CheckedSubOp<T, 30 + return false; 31 + } 32 + 33 + - Promotion presult; 34 + + Promotion presult = {}; 35 + bool is_valid = true; 36 + if (IsIntegerArithmeticSafe<Promotion, T, U>::value) { 37 + presult = static_cast<Promotion>(x) - static_cast<Promotion>(y); 38 + @@ -183,7 +183,7 @@ struct CheckedMulOp<T, 39 + return false; 40 + } 41 + 42 + - Promotion presult; 43 + + Promotion presult = {}; 44 + bool is_valid = true; 45 + if (CheckedMulFastOp<Promotion, Promotion>::is_supported) { 46 + // The fast op may be available with the promoted type. 47 + diff --git a/base/numerics/clamped_math_impl.h b/base/numerics/clamped_math_impl.h 48 + index 7b5e4346f2..303a7e945a 100644 49 + --- a/base/numerics/clamped_math_impl.h 50 + +++ b/base/numerics/clamped_math_impl.h 51 + @@ -87,7 +87,7 @@ struct ClampedAddOp<T, 52 + "The saturation result cannot be determined from the " 53 + "provided types."); 54 + const V saturated = CommonMaxOrMin<V>(IsValueNegative(y)); 55 + - V result; 56 + + V result = {}; 57 + return BASE_NUMERICS_LIKELY((CheckedAddOp<T, U>::Do(x, y, &result))) 58 + ? result 59 + : saturated; 60 + @@ -114,7 +114,7 @@ struct ClampedSubOp<T, 61 + "The saturation result cannot be determined from the " 62 + "provided types."); 63 + const V saturated = CommonMaxOrMin<V>(!IsValueNegative(y)); 64 + - V result; 65 + + V result = {}; 66 + return BASE_NUMERICS_LIKELY((CheckedSubOp<T, U>::Do(x, y, &result))) 67 + ? result 68 + : saturated; 69 + @@ -136,7 +136,7 @@ struct ClampedMulOp<T, 70 + if (ClampedMulFastOp<T, U>::is_supported) 71 + return ClampedMulFastOp<T, U>::template Do<V>(x, y); 72 + 73 + - V result; 74 + + V result = {}; 75 + const V saturated = 76 + CommonMaxOrMin<V>(IsValueNegative(x) ^ IsValueNegative(y)); 77 + return BASE_NUMERICS_LIKELY((CheckedMulOp<T, U>::Do(x, y, &result))) 78 + @@ -156,7 +156,7 @@ struct ClampedDivOp<T, 79 + using result_type = typename MaxExponentPromotion<T, U>::type; 80 + template <typename V = result_type> 81 + static constexpr V Do(T x, U y) { 82 + - V result; 83 + + V result = {}; 84 + if (BASE_NUMERICS_LIKELY((CheckedDivOp<T, U>::Do(x, y, &result)))) 85 + return result; 86 + // Saturation goes to max, min, or NaN (if x is zero). 87 + @@ -176,7 +176,7 @@ struct ClampedModOp<T, 88 + using result_type = typename MaxExponentPromotion<T, U>::type; 89 + template <typename V = result_type> 90 + static constexpr V Do(T x, U y) { 91 + - V result; 92 + + V result = {}; 93 + return BASE_NUMERICS_LIKELY((CheckedModOp<T, U>::Do(x, y, &result))) 94 + ? result 95 + : x; 96 + -- 97 + 2.14.2 98 +
+9 -9
pkgs/applications/networking/browsers/chromium/upstream-info.nix
··· 1 1 # This file is autogenerated from update.sh in the same directory. 2 2 { 3 3 beta = { 4 - sha256 = "0c8qn2i7iygl3kgrdwwd8h3l5j8hg66dw99qgr618cgca1b4im68"; 5 - sha256bin64 = "04mfg18zpx19ha0mrlwx2aabn0vhl08n9c60hazivmw99pzlg8dn"; 6 - version = "62.0.3202.29"; 4 + sha256 = "0qn3pjq5n3ri3qh25wg5gd2as5a8wlkncqvi975xsab771833pz8"; 5 + sha256bin64 = "10d1v9sa0wnnhjz6ria315aml20v1jl2bnkhcqi125rqk5fw9wrq"; 6 + version = "62.0.3202.62"; 7 7 }; 8 8 dev = { 9 - sha256 = "1zd7rid626fglbyrp7c6517jldhgfk3vjn357vhlhy6pgj1ydrrn"; 10 - sha256bin64 = "0hqb5prf0ags4bnla6skyi5vmkrazhd8n3ri4ijhbqjbb536bfpb"; 11 - version = "63.0.3218.0"; 9 + sha256 = "0dx9n9j1apngs4gc1n0kyccczm58045l342jr06azaw5yamsk8xb"; 10 + sha256bin64 = "1syqi1fx3kkn7865m6ldicg9cxcg1pfy9l1fr2k5mcqxsdblcyyv"; 11 + version = "63.0.3239.9"; 12 12 }; 13 13 stable = { 14 - sha256 = "06r89jim9cq87668ya8wwk69hh17rl04cj94nb9c28v6mj69cda1"; 15 - sha256bin64 = "1cm9snw29nkzq4bafqgi6fd0gqcc3jp60y6vfsrf9k4dvdard2sv"; 16 - version = "61.0.3163.100"; 14 + sha256 = "0qn3pjq5n3ri3qh25wg5gd2as5a8wlkncqvi975xsab771833pz8"; 15 + sha256bin64 = "1ijpv76wbxgwcvgr3nd9ciyyf26z56gxw4caga4x6600pa2lm8wq"; 16 + version = "62.0.3202.62"; 17 17 }; 18 18 }