From 8edecbea4b1a9839419d3549b181ea2ca0071a60 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 21 Jun 2020 01:07:16 +0200 Subject: [PATCH] LibWeb: Fix build after atob/btoa changes --- Libraries/LibWeb/Bindings/WindowObject.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/LibWeb/Bindings/WindowObject.cpp b/Libraries/LibWeb/Bindings/WindowObject.cpp index 79ad8096f2..a347f22d44 100644 --- a/Libraries/LibWeb/Bindings/WindowObject.cpp +++ b/Libraries/LibWeb/Bindings/WindowObject.cpp @@ -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())