File emplace.patch of Package ungoogled-chromium

Index: chromium-128.0.6613.113/components/viz/service/display/surface_aggregator.h
===================================================================
--- chromium-128.0.6613.113.orig/components/viz/service/display/surface_aggregator.h
+++ chromium-128.0.6613.113/components/viz/service/display/surface_aggregator.h
@@ -131,13 +131,18 @@ class VIZ_SERVICE_EXPORT SurfaceAggregat
   struct PrewalkResult;
 
   struct AggregateStatistics {
-    int prewalked_surface_count = 0;
-    int copied_surface_count = 0;
+    AggregateStatistics()
+      : prewalked_surface_count(0),
+	copied_surface_count(0),
+	has_pixel_moving_filter(false),
+	has_unembedded_pass(false) {}
+    int prewalked_surface_count;
+    int copied_surface_count;
     // True if the current frame contains a pixel-moving foreground filter
     // render pass.
-    bool has_pixel_moving_filter = false;
+    bool has_pixel_moving_filter;
     // True if the current frame contains a unembedded render pass.
-    bool has_unembedded_pass = false;
+    bool has_unembedded_pass;
 
     base::TimeDelta prewalk_time;
     base::TimeDelta copy_time;
Index: chromium-128.0.6613.113/gpu/command_buffer/service/shared_image/shared_image_backing.h
===================================================================
--- chromium-128.0.6613.113.orig/gpu/command_buffer/service/shared_image/shared_image_backing.h
+++ chromium-128.0.6613.113/gpu/command_buffer/service/shared_image/shared_image_backing.h
@@ -389,7 +389,7 @@ class GPU_GLES2_EXPORT SharedImageBackin
  private:
   class ScopedWriteUMA {
    public:
-    ScopedWriteUMA() = default;
+    ScopedWriteUMA() : content_consumed_(false) {}
 
     ScopedWriteUMA(const ScopedWriteUMA&) = delete;
     ScopedWriteUMA& operator=(const ScopedWriteUMA&) = delete;
@@ -403,7 +403,7 @@ class GPU_GLES2_EXPORT SharedImageBackin
     void SetConsumed() { content_consumed_ = true; }
 
    private:
-    bool content_consumed_ = false;
+    bool content_consumed_;
   };
 
   const Mailbox mailbox_;
Index: chromium-128.0.6613.113/mojo/public/cpp/bindings/lib/multiplex_router.h
===================================================================
--- chromium-128.0.6613.113.orig/mojo/public/cpp/bindings/lib/multiplex_router.h
+++ chromium-128.0.6613.113/mojo/public/cpp/bindings/lib/multiplex_router.h
@@ -315,8 +315,9 @@ class COMPONENT_EXPORT(MOJO_CPP_BINDINGS
   // are not managed by the MultiplexRouter and thus are not relevant here.
   struct ExclusiveSyncWaitInfo {
     InterfaceId interface_id = kInvalidInterfaceId;
-    uint64_t request_id = 0;
-    bool finished = false;
+    uint64_t request_id;
+    bool finished;
+    ExclusiveSyncWaitInfo() : request_id(0), finished(false) {}
   };
   std::optional<ExclusiveSyncWaitInfo> exclusive_sync_wait_;
 
Index: chromium-128.0.6613.113/third_party/blink/renderer/modules/media_controls/elements/media_control_timeline_element.h
===================================================================
--- chromium-128.0.6613.113.orig/third_party/blink/renderer/modules/media_controls/elements/media_control_timeline_element.h
+++ chromium-128.0.6613.113/third_party/blink/renderer/modules/media_controls/elements/media_control_timeline_element.h
@@ -51,7 +51,8 @@ class MediaControlTimelineElement : publ
   // Struct used to track the current live time.
   struct LiveAnchorTime {
     base::TimeTicks clock_time_;
-    double media_time_ = 0;
+    double media_time_;
+    LiveAnchorTime() : media_time_(0) {}
   };
 
   void DefaultEventHandler(Event&) override;
openSUSE Build Service is sponsored by