Projects
Eulaceura:Mainline
chromium
_service:obs_scm:chromium-125-emplace-struct.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:chromium-125-emplace-struct.patch of Package chromium
diff --git a/shared_image_backing.h b/shared_image_backing.h.new index 97ebd0b..fc6179c 100644 --- a/gpu/command_buffer/service/shared_image/shared_image_backing.h +++ b/gpu/command_buffer/service/shared_image/shared_image_backing.h @@ -338,7 +338,7 @@ class GPU_GLES2_EXPORT SharedImageBacking { private: class ScopedWriteUMA { public: - ScopedWriteUMA() = default; + ScopedWriteUMA() : content_consumed_(false) {} ScopedWriteUMA(const ScopedWriteUMA&) = delete; ScopedWriteUMA& operator=(const ScopedWriteUMA&) = delete; @@ -352,7 +352,7 @@ class GPU_GLES2_EXPORT SharedImageBacking { void SetConsumed() { content_consumed_ = true; } private: - bool content_consumed_ = false; + bool content_consumed_; }; const Mailbox mailbox_; diff --git a/history_item.h b/history_item.h.new index 15fea48..ba59305 100644 --- a/third_party/blink/renderer/core/loader/history_item.h +++ b/third_party/blink/renderer/core/loader/history_item.h @@ -77,13 +77,13 @@ class CORE_EXPORT HistoryItem final : public GarbageCollected<HistoryItem> { DISALLOW_NEW(); public: - ViewState() = default; + ViewState() : page_scale_factor_(0) {} ViewState(const ViewState&) = default; ViewState& operator=(const ViewState&) = default; ScrollOffset visual_viewport_scroll_offset_; ScrollOffset scroll_offset_; - float page_scale_factor_ = 0; + float page_scale_factor_; ScrollAnchorData scroll_anchor_data_; }; diff --git a/third_party/blink/public/common/interest_group/auction_config.h b/third_party/blink/public/common/interest_group/auction_config.h.new index 5eb6378..4187556 100644 --- a/third_party/blink/public/common/interest_group/auction_config.h +++ b/third_party/blink/public/common/interest_group/auction_config.h @@ -243,9 +243,11 @@ struct BLINK_COMMON_EXPORT AuctionConfig { // Povides whether debug mode is enabled and, if it is, any debug key. struct BLINK_COMMON_EXPORT AuctionReportBuyerDebugModeConfig { - bool is_enabled = false; + bool is_enabled; std::optional<uint64_t> debug_key; + AuctionReportBuyerDebugModeConfig() : is_enabled(false) {} + friend BLINK_COMMON_EXPORT bool operator==( const AuctionReportBuyerDebugModeConfig&, const AuctionReportBuyerDebugModeConfig&); @@ -447,7 +449,7 @@ struct BLINK_COMMON_EXPORT AuctionConfig { // Origin for the Coordinator to be used for Private Aggregation. std::optional<url::Origin> aggregation_coordinator_origin; - static_assert(__LINE__ == 455, R"( + static_assert(__LINE__ == 457, R"( If modifying AuctionConfig fields, please make sure to also modify: * third_party/blink/public/mojom/interest_group/interest_group_types.mojom
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2