1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
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;
|