1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:27:46 +00:00

Ladybird: Fix build after LibWeb+LibJS GC changes

This commit is contained in:
Andreas Kling 2022-09-06 00:42:16 +02:00 committed by Andrew Kaster
parent 9789d8b769
commit dcab11f5e9
5 changed files with 27 additions and 28 deletions

View file

@ -13,8 +13,8 @@
#include <LibJS/Runtime/Completion.h>
#include <LibJS/Runtime/GlobalObject.h>
namespace Web::Bindings {
class WindowObject;
namespace Web::HTML {
class Window;
}
namespace Ladybird {
@ -23,7 +23,7 @@ class ConsoleGlobalObject final : public JS::GlobalObject {
JS_OBJECT(ConsoleGlobalObject, JS::GlobalObject);
public:
ConsoleGlobalObject(JS::Realm&, Web::Bindings::WindowObject&);
ConsoleGlobalObject(JS::Realm&, Web::HTML::Window&);
virtual void initialize(JS::Realm&) override;
virtual ~ConsoleGlobalObject() override = default;
@ -45,7 +45,7 @@ private:
// Because $0 is not a nice C++ function name
JS_DECLARE_NATIVE_FUNCTION(inspected_node_getter);
Web::Bindings::WindowObject* m_window_object;
Web::HTML::Window* m_window_object;
};
}