mirror of
https://github.com/RGBCube/serenity
synced 2025-07-02 23:22:07 +00:00
LibWeb: Remove the NoInstanceWrapper extended IDL attribute
No interfaces require wrappers anymore, so we can just make this the default mode.
This commit is contained in:
parent
1bd4ad8b6d
commit
8f110e0fb1
31 changed files with 32 additions and 35 deletions
|
@ -570,11 +570,8 @@ void Parser::parse_interface(Interface& interface)
|
|||
parse_function(extended_attributes, interface);
|
||||
}
|
||||
|
||||
if (interface.extended_attributes.contains("NoInstanceWrapper")) {
|
||||
interface.wrapper_class = interface.name;
|
||||
} else {
|
||||
interface.wrapper_class = String::formatted("{}Wrapper", interface.name);
|
||||
}
|
||||
interface.wrapper_class = interface.name;
|
||||
|
||||
interface.wrapper_base_class = String::formatted("{}Wrapper", interface.parent_name.is_empty() ? String::empty() : interface.parent_name);
|
||||
interface.constructor_class = String::formatted("{}Constructor", interface.name);
|
||||
interface.prototype_class = String::formatted("{}Prototype", interface.name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue