mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 06:28:13 +00:00
LibWeb: Create canvas bitmap when not existing in toDataURL and toBlob
This commit is contained in:
parent
d24e07579f
commit
5e7a82a853
5 changed files with 34 additions and 3 deletions
|
@ -33,7 +33,7 @@ public:
|
|||
WebIDL::ExceptionOr<void> set_width(unsigned);
|
||||
WebIDL::ExceptionOr<void> set_height(unsigned);
|
||||
|
||||
String to_data_url(StringView type, Optional<double> quality) const;
|
||||
String to_data_url(StringView type, Optional<double> quality);
|
||||
WebIDL::ExceptionOr<void> to_blob(JS::NonnullGCPtr<WebIDL::CallbackType> callback, StringView type, Optional<double> quality);
|
||||
|
||||
void present();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue