mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 00:08:39 +09:00
1320408 - Part 19: Remove JSContext* parameter from ModuleObject::fixEnvironmentsAfterCompartmentMerge.
This commit is contained in:
parent
3fb93ffdf6
commit
62eeeb76b5
3 changed files with 3 additions and 3 deletions
|
|
@ -788,7 +788,7 @@ AssertModuleScopesMatch(ModuleObject* module)
|
|||
}
|
||||
|
||||
void
|
||||
ModuleObject::fixEnvironmentsAfterCompartmentMerge(JSContext* cx)
|
||||
ModuleObject::fixEnvironmentsAfterCompartmentMerge()
|
||||
{
|
||||
AssertModuleScopesMatch(this);
|
||||
initialEnvironment().fixEnclosingEnvironmentAfterCompartmentMerge(script()->global());
|
||||
|
|
|
|||
|
|
@ -244,7 +244,7 @@ class ModuleObject : public NativeObject
|
|||
#ifdef DEBUG
|
||||
static bool IsFrozen(JSContext* cx, HandleModuleObject self);
|
||||
#endif
|
||||
void fixEnvironmentsAfterCompartmentMerge(JSContext* cx);
|
||||
void fixEnvironmentsAfterCompartmentMerge();
|
||||
|
||||
JSScript* script() const;
|
||||
Scope* enclosingScope() const;
|
||||
|
|
|
|||
|
|
@ -1291,7 +1291,7 @@ GlobalHelperThreadState::finishModuleParseTask(JSContext* cx, void* token)
|
|||
MOZ_ASSERT(script->module());
|
||||
|
||||
RootedModuleObject module(cx, script->module());
|
||||
module->fixEnvironmentsAfterCompartmentMerge(cx);
|
||||
module->fixEnvironmentsAfterCompartmentMerge();
|
||||
if (!ModuleObject::Freeze(cx, module))
|
||||
return nullptr;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue