mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
LibWeb: Fix typo in extended WithGCVisitor
extended attribute name
This commit is contained in:
parent
baaaa0008e
commit
5e75afd549
Notes:
sideshowbarker
2024-07-16 23:38:54 +09:00
Author: https://github.com/tcl3 Commit: https://github.com/SerenityOS/serenity/commit/5e75afd549 Pull-request: https://github.com/SerenityOS/serenity/pull/24051 Reviewed-by: https://github.com/alimpfard ✅
2 changed files with 3 additions and 3 deletions
|
@ -3697,7 +3697,7 @@ public:
|
|||
private:
|
||||
)~~~");
|
||||
|
||||
if (interface.extended_attributes.contains("WithGCVistor"sv)) {
|
||||
if (interface.extended_attributes.contains("WithGCVisitor"sv)) {
|
||||
generator.append(R"~~~(
|
||||
virtual void visit_edges(JS::Cell::Visitor&) override;
|
||||
)~~~");
|
||||
|
@ -3825,7 +3825,7 @@ void @namespace_class@::initialize(JS::Realm& realm)
|
|||
}
|
||||
)~~~");
|
||||
|
||||
if (interface.extended_attributes.contains("WithGCVistor"sv)) {
|
||||
if (interface.extended_attributes.contains("WithGCVisitor"sv)) {
|
||||
generator.append(R"~~~(
|
||||
void @namespace_class@::visit_edges(JS::Cell::Visitor& visitor)
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@ dictionary WebAssemblyInstantiatedSource {
|
|||
};
|
||||
|
||||
// https://webassembly.github.io/spec/js-api/#webassembly-namespace
|
||||
[Exposed=*, WithGCVistor]
|
||||
[Exposed=*, WithGCVisitor]
|
||||
namespace WebAssembly {
|
||||
boolean validate(BufferSource bytes);
|
||||
Promise<Module> compile(BufferSource bytes);
|
||||
|
|
Loading…
Reference in a new issue