mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibJS: Replace boolean without_side_effects parameters with an enum
This commit is contained in:
committed by
Andreas Kling
parent
864beb0bd5
commit
dcb55db99b
@@ -101,7 +101,7 @@ SheetGlobalObject::~SheetGlobalObject()
|
||||
{
|
||||
}
|
||||
|
||||
JS::Value SheetGlobalObject::get(const JS::PropertyName& name, JS::Value receiver, bool without_side_effects) const
|
||||
JS::Value SheetGlobalObject::get(const JS::PropertyName& name, JS::Value receiver, JS::AllowSideEffects allow_side_effects) const
|
||||
{
|
||||
if (name.is_string()) {
|
||||
if (name.as_string() == "value") {
|
||||
@@ -117,7 +117,7 @@ JS::Value SheetGlobalObject::get(const JS::PropertyName& name, JS::Value receive
|
||||
}
|
||||
}
|
||||
|
||||
return GlobalObject::get(name, receiver, without_side_effects);
|
||||
return GlobalObject::get(name, receiver, allow_side_effects);
|
||||
}
|
||||
|
||||
bool SheetGlobalObject::put(const JS::PropertyName& name, JS::Value value, JS::Value receiver)
|
||||
|
||||
Reference in New Issue
Block a user