diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.h')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.h b/Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.h index f723162843..881ddd777d 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.h @@ -30,8 +30,8 @@ public: unsigned width() const; unsigned height() const; - void set_width(unsigned); - void set_height(unsigned); + WebIDL::ExceptionOr<void> set_width(unsigned); + WebIDL::ExceptionOr<void> set_height(unsigned); DeprecatedString to_data_url(DeprecatedString const& type, Optional<double> quality) const; |