diff --git a/devel/electron31/files/patch-electron_shell_common_keyboard__util.cc b/devel/electron31/files/patch-electron_shell_common_keyboard__util.cc new file mode 100644 index 000000000000..977f0dea72a5 --- /dev/null +++ b/devel/electron31/files/patch-electron_shell_common_keyboard__util.cc @@ -0,0 +1,11 @@ +--- electron/shell/common/keyboard_util.cc.orig 2024-10-23 21:18:11 UTC ++++ electron/shell/common/keyboard_util.cc +@@ -16,7 +16,7 @@ using CodeAndShiftedChar = std::pair>; + +-constexpr CodeAndShiftedChar KeyboardCodeFromKeyIdentifier( ++CodeAndShiftedChar KeyboardCodeFromKeyIdentifier( + const std::string_view str) { + #if BUILDFLAG(IS_MAC) + constexpr auto CommandOrControl = ui::VKEY_COMMAND; diff --git a/devel/electron31/files/patch-third__party_blink_renderer_platform_wtf_hash__table.h b/devel/electron31/files/patch-third__party_blink_renderer_platform_wtf_hash__table.h new file mode 100644 index 000000000000..831809a8e908 --- /dev/null +++ b/devel/electron31/files/patch-third__party_blink_renderer_platform_wtf_hash__table.h @@ -0,0 +1,31 @@ +--- third_party/blink/renderer/platform/wtf/hash_table.h.orig 2024-08-19 05:20:52 UTC ++++ third_party/blink/renderer/platform/wtf/hash_table.h +@@ -1639,7 +1639,7 @@ HashTable::InitializeTable( + original_table, new_table_size); +@@ -1693,7 +1693,7 @@ Value* HashTablestore(new_hash_table.table_, std::memory_order_relaxed); +- Allocator::template BackingWriteBarrier(&table_); ++ Allocator::BackingWriteBarrier(&table_); + table_size_ = new_table_size; + + new_hash_table.table_ = old_table; +@@ -1845,8 +1845,8 @@ void HashTable::value) { + // Weak processing is omitted when no backing store is present. In case such + // an empty table is later on used it needs to be strongified. diff --git a/devel/electron31/files/patch-third__party_perfetto_include_perfetto_tracing_internal_track__event__data__source.h b/devel/electron31/files/patch-third__party_perfetto_include_perfetto_tracing_internal_track__event__data__source.h new file mode 100644 index 000000000000..96a551155ab9 --- /dev/null +++ b/devel/electron31/files/patch-third__party_perfetto_include_perfetto_tracing_internal_track__event__data__source.h @@ -0,0 +1,54 @@ +--- third_party/perfetto/include/perfetto/tracing/internal/track_event_data_source.h.orig 2024-08-19 05:26:12 UTC ++++ third_party/perfetto/include/perfetto/tracing/internal/track_event_data_source.h +@@ -328,13 +328,13 @@ class TrackEventDataSource + } + + static void Flush() { +- Base::template Trace([](typename Base::TraceContext ctx) { ctx.Flush(); }); ++ Base::Trace([](typename Base::TraceContext ctx) { ctx.Flush(); }); + } + + // Determine if *any* tracing category is enabled. + static bool IsEnabled() { + bool enabled = false; +- Base::template CallIfEnabled( ++ Base::CallIfEnabled( + [&](uint32_t /*instances*/) { enabled = true; }); + return enabled; + } +@@ -349,7 +349,7 @@ class TrackEventDataSource + static bool IsDynamicCategoryEnabled( + const DynamicCategory& dynamic_category) { + bool enabled = false; +- Base::template Trace([&](typename Base::TraceContext ctx) { ++ Base::Trace([&](typename Base::TraceContext ctx) { + enabled = enabled || IsDynamicCategoryEnabled(&ctx, dynamic_category); + }); + return enabled; +@@ -496,7 +496,7 @@ class TrackEventDataSource + const protos::gen::TrackDescriptor& desc) { + PERFETTO_DCHECK(track.uuid == desc.uuid()); + TrackRegistry::Get()->UpdateTrack(track, desc.SerializeAsString()); +- Base::template Trace([&](typename Base::TraceContext ctx) { ++ Base::Trace([&](typename Base::TraceContext ctx) { + TrackEventInternal::WriteTrackDescriptor( + track, ctx.tls_inst_->trace_writer.get(), ctx.GetIncrementalState(), + *ctx.GetCustomTlsState(), TrackEventInternal::GetTraceTime()); +@@ -1047,7 +1047,7 @@ class TrackEventDataSource + Lambda lambda) PERFETTO_ALWAYS_INLINE { + using CatTraits = CategoryTraits; + if (CatTraits::kIsDynamic) { +- Base::template TraceWithInstances(instances, std::move(lambda)); ++ Base::TraceWithInstances(instances, std::move(lambda)); + } else { + Base::template TraceWithInstances( + instances, std::move(lambda), {CatTraits::GetStaticIndex(category)}); +@@ -1061,7 +1061,7 @@ class TrackEventDataSource + const TrackType& track, + std::function callback) { + TrackRegistry::Get()->UpdateTrack(track, std::move(callback)); +- Base::template Trace([&](typename Base::TraceContext ctx) { ++ Base::Trace([&](typename Base::TraceContext ctx) { + TrackEventInternal::WriteTrackDescriptor( + track, ctx.tls_inst_->trace_writer.get(), ctx.GetIncrementalState(), + *ctx.GetCustomTlsState(), TrackEventInternal::GetTraceTime());