mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:07:45 +00:00
LibWeb: Make WrapperGenerator generate nullable wrapper types
Previously it was not doing so, and some code relied on this not being the case. In particular, set_caption, set_t_head and set_t_foot in HTMLTableElement relied on this. This commit is not here to fix this, so I added an assertion to make it equivalent to a reference for now.
This commit is contained in:
parent
62c015dc96
commit
a826df773e
5 changed files with 43 additions and 16 deletions
|
@ -110,7 +110,7 @@ public:
|
|||
return const_cast<Document*>(this)->body();
|
||||
}
|
||||
|
||||
ExceptionOr<void> set_body(HTML::HTMLElement& new_body);
|
||||
ExceptionOr<void> set_body(HTML::HTMLElement* new_body);
|
||||
|
||||
String title() const;
|
||||
void set_title(const String&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue