summaryrefslogtreecommitdiff
path: root/emplace.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-01-11 07:17:39 +0000
committerCoprDistGit <infra@openeuler.org>2025-01-11 07:17:39 +0000
commit644c757ffb94ff2f452976228fee9bbdfba762fa (patch)
tree205f3dbf342b9ae0c59e71ddbc9394b2dd415951 /emplace.patch
parente9abc6c72d6b470c59f4c9e9b5af6dfe5d1a75b2 (diff)
automatic import of chromium
Diffstat (limited to 'emplace.patch')
-rw-r--r--emplace.patch79
1 files changed, 79 insertions, 0 deletions
diff --git a/emplace.patch b/emplace.patch
new file mode 100644
index 0000000..8c16e27
--- /dev/null
+++ b/emplace.patch
@@ -0,0 +1,79 @@
+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;