LibWeb: Fix build after atob/btoa changes

This commit is contained in:
Andreas Kling 2020-06-21 01:07:16 +02:00
parent bc4fa7a3c9
commit 8edecbea4b
Notes: sideshowbarker 2024-07-19 05:30:39 +09:00

View file

@ -213,7 +213,7 @@ JS_DEFINE_NATIVE_FUNCTION(WindowObject::cancel_animation_frame)
JS_DEFINE_NATIVE_FUNCTION(WindowObject::atob)
{
auto* impl = impl_from(interpreter);
auto* impl = impl_from(interpreter, global_object);
if (!impl)
return {};
if (!interpreter.argument_count())
@ -227,7 +227,7 @@ JS_DEFINE_NATIVE_FUNCTION(WindowObject::atob)
JS_DEFINE_NATIVE_FUNCTION(WindowObject::btoa)
{
auto* impl = impl_from(interpreter);
auto* impl = impl_from(interpreter, global_object);
if (!impl)
return {};
if (!interpreter.argument_count())