1
0
Fork 0
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:
Timothy Flynn 2025-05-01 11:24:13 -04:00 committed by Tim Flynn
parent 4a9ed67e9d
commit 5fb5066e89
Notes: github-actions[bot] 2025-05-02 21:47:50 +00:00

View file

@ -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.
};