View | Details | Raw Unified | Return to bug 282370
Collapse All | Expand All

(-)b/devel/electron30/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_no__destructor.h (+13 lines)
Added Link Here
1
--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/no_destructor.h.orig	2024-06-13 07:40:39 UTC
2
+++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/no_destructor.h
3
@@ -122,9 +122,7 @@ class NoDestructor {
4
       new (storage_) T(std::forward<Args>(args)...);
5
     }
6
 
7
-    const T* get() const {
8
-      return const_cast<PlacementStorage*>(this)->storage();
9
-    }
10
+    const T* get() const { return const_cast<PlacementStorage*>(this)->get(); }
11
     T* get() { return reinterpret_cast<T*>(storage_); }
12
 
13
    private:
(-)b/devel/electron30/files/patch-base_containers_id__map.h (+13 lines)
Added Link Here
1
--- base/containers/id_map.h.orig	2024-06-13 07:40:39 UTC
2
+++ base/containers/id_map.h
3
@@ -178,8 +178,8 @@ class IDMap final {
4
     }
5
 
6
     const Iterator& operator=(const Iterator& iter) {
7
-      map_ = iter.map;
8
-      iter_ = iter.iter;
9
+      map_ = iter.map_;
10
+      iter_ = iter.iter_;
11
       Init();
12
       return *this;
13
     }
(-)b/devel/electron30/files/patch-electron_shell_common_keyboard__util.cc (+11 lines)
Added Link Here
1
--- electron/shell/common/keyboard_util.cc.orig	2024-09-10 16:10:30 UTC
2
+++ electron/shell/common/keyboard_util.cc
3
@@ -16,7 +16,7 @@ using CodeAndShiftedChar = std::pair<ui::KeyboardCode,
4
 
5
 using CodeAndShiftedChar = std::pair<ui::KeyboardCode, std::optional<char16_t>>;
6
 
7
-constexpr CodeAndShiftedChar KeyboardCodeFromKeyIdentifier(
8
+CodeAndShiftedChar KeyboardCodeFromKeyIdentifier(
9
     const std::string_view str) {
10
 #if BUILDFLAG(IS_MAC)
11
   constexpr auto CommandOrControl = ui::VKEY_COMMAND;
(-)b/devel/electron30/files/patch-net_third__party_quiche_src_quiche_quic_core_quic__interval__deque.h (+17 lines)
Added Link Here
1
--- net/third_party/quiche/src/quiche/quic/core/quic_interval_deque.h.orig	2024-06-13 07:42:15 UTC
2
+++ net/third_party/quiche/src/quiche/quic/core/quic_interval_deque.h
3
@@ -198,12 +198,12 @@ class QUICHE_NO_EXPORT QuicIntervalDeque {
4
     Iterator operator+(difference_type amount) const {
5
       Iterator copy = *this;
6
       copy.index_ += amount;
7
-      QUICHE_DCHECK(copy.index_ < copy.deque_->size());
8
+      QUICHE_DCHECK(copy.index_ < copy.deque_->Size());
9
       return copy;
10
     }
11
     Iterator& operator+=(difference_type amount) {
12
       index_ += amount;
13
-      QUICHE_DCHECK(index_ < deque_->size());
14
+      QUICHE_DCHECK(index_ < deque_->Size());
15
       return *this;
16
     }
17
     difference_type operator-(const Iterator& rhs) const {
(-)b/devel/electron30/files/patch-third__party_blink_renderer_platform_wtf_hash__table.h (+31 lines)
Added Link Here
1
--- third_party/blink/renderer/platform/wtf/hash_table.h.orig	2024-06-13 07:40:54 UTC
2
+++ third_party/blink/renderer/platform/wtf/hash_table.h
3
@@ -1632,7 +1632,7 @@ HashTable<Key, Value, Extractor, Traits, KeyTraits, Al
4
     }
5
   }
6
   table_ = temporary_table;
7
-  Allocator::template BackingWriteBarrier(&table_);
8
+  Allocator::BackingWriteBarrier(&table_);
9
 
10
   HashTableBucketInitializer<Traits, Allocator, Value>::InitializeTable(
11
       original_table, new_table_size);
12
@@ -1686,7 +1686,7 @@ Value* HashTable<Key, Value, Extractor, Traits, KeyTra
13
   // This swaps the newly allocated buffer with the current one. The store to
14
   // the current table has to be atomic to prevent races with concurrent marker.
15
   AsAtomicPtr(&table_)->store(new_hash_table.table_, std::memory_order_relaxed);
16
-  Allocator::template BackingWriteBarrier(&table_);
17
+  Allocator::BackingWriteBarrier(&table_);
18
   table_size_ = new_table_size;
19
 
20
   new_hash_table.table_ = old_table;
21
@@ -1838,8 +1838,8 @@ void HashTable<Key, Value, Extractor, Traits, KeyTrait
22
   // on the mutator thread, which is also the only one that writes to them, so
23
   // there is *no* risk of data races when reading.
24
   AtomicWriteSwap(table_, other.table_);
25
-  Allocator::template BackingWriteBarrier(&table_);
26
-  Allocator::template BackingWriteBarrier(&other.table_);
27
+  Allocator::BackingWriteBarrier(&table_);
28
+  Allocator::BackingWriteBarrier(&other.table_);
29
   if (IsWeak<ValueType>::value) {
30
     // Weak processing is omitted when no backing store is present. In case such
31
     // an empty table is later on used it needs to be strongified.
(-)b/devel/electron30/files/patch-third__party_perfetto_include_perfetto_tracing_internal_track__event__data__source.h (+54 lines)
Added Link Here
1
--- third_party/perfetto/include/perfetto/tracing/internal/track_event_data_source.h.orig	2024-06-13 07:45:23 UTC
2
+++ third_party/perfetto/include/perfetto/tracing/internal/track_event_data_source.h
3
@@ -328,13 +328,13 @@ class TrackEventDataSource
4
   }
5
 
6
   static void Flush() {
7
-    Base::template Trace([](typename Base::TraceContext ctx) { ctx.Flush(); });
8
+    Base::Trace([](typename Base::TraceContext ctx) { ctx.Flush(); });
9
   }
10
 
11
   // Determine if *any* tracing category is enabled.
12
   static bool IsEnabled() {
13
     bool enabled = false;
14
-    Base::template CallIfEnabled(
15
+    Base::CallIfEnabled(
16
         [&](uint32_t /*instances*/) { enabled = true; });
17
     return enabled;
18
   }
19
@@ -349,7 +349,7 @@ class TrackEventDataSource
20
   static bool IsDynamicCategoryEnabled(
21
       const DynamicCategory& dynamic_category) {
22
     bool enabled = false;
23
-    Base::template Trace([&](typename Base::TraceContext ctx) {
24
+    Base::Trace([&](typename Base::TraceContext ctx) {
25
       enabled = enabled || IsDynamicCategoryEnabled(&ctx, dynamic_category);
26
     });
27
     return enabled;
28
@@ -496,7 +496,7 @@ class TrackEventDataSource
29
                                  const protos::gen::TrackDescriptor& desc) {
30
     PERFETTO_DCHECK(track.uuid == desc.uuid());
31
     TrackRegistry::Get()->UpdateTrack(track, desc.SerializeAsString());
32
-    Base::template Trace([&](typename Base::TraceContext ctx) {
33
+    Base::Trace([&](typename Base::TraceContext ctx) {
34
       TrackEventInternal::WriteTrackDescriptor(
35
           track, ctx.tls_inst_->trace_writer.get(), ctx.GetIncrementalState(),
36
           *ctx.GetCustomTlsState(), TrackEventInternal::GetTraceTime());
37
@@ -1047,7 +1047,7 @@ class TrackEventDataSource
38
                                  Lambda lambda) PERFETTO_ALWAYS_INLINE {
39
     using CatTraits = CategoryTraits<CategoryType>;
40
     if (CatTraits::kIsDynamic) {
41
-      Base::template TraceWithInstances(instances, std::move(lambda));
42
+      Base::TraceWithInstances(instances, std::move(lambda));
43
     } else {
44
       Base::template TraceWithInstances<CategoryTracePointTraits>(
45
           instances, std::move(lambda), {CatTraits::GetStaticIndex(category)});
46
@@ -1061,7 +1061,7 @@ class TrackEventDataSource
47
       const TrackType& track,
48
       std::function<void(protos::pbzero::TrackDescriptor*)> callback) {
49
     TrackRegistry::Get()->UpdateTrack(track, std::move(callback));
50
-    Base::template Trace([&](typename Base::TraceContext ctx) {
51
+    Base::Trace([&](typename Base::TraceContext ctx) {
52
       TrackEventInternal::WriteTrackDescriptor(
53
           track, ctx.tls_inst_->trace_writer.get(), ctx.GetIncrementalState(),
54
           *ctx.GetCustomTlsState(), TrackEventInternal::GetTraceTime());

Return to bug 282370