mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
LibWeb: Initialize plain boolean in ClipboardItem::Representation
This commit is contained in:
parent
4a9ed67e9d
commit
5fb5066e89
Notes:
github-actions[bot]
2025-05-02 21:47:50 +00:00
Author: https://github.com/trflynn89
Commit: 5fb5066e89
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4548
Reviewed-by: https://github.com/shannonbooth
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class ClipboardItem : public Bindings::PlatformObject {
|
|||
public:
|
||||
struct Representation {
|
||||
String mime_type; // The MIME type (e.g., "text/plain").
|
||||
bool is_custom; // Whether this is a web custom format.
|
||||
bool is_custom { false }; // Whether this is a web custom format.
|
||||
GC::Ref<WebIDL::Promise> data; // The actual data for this representation.
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue