diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/Bindings/WindowObject.h')
-rw-r--r-- | Userland/Libraries/LibWeb/Bindings/WindowObject.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Bindings/WindowObject.h b/Userland/Libraries/LibWeb/Bindings/WindowObject.h index 7e7a8bac78..b3bd2e61f5 100644 --- a/Userland/Libraries/LibWeb/Bindings/WindowObject.h +++ b/Userland/Libraries/LibWeb/Bindings/WindowObject.h @@ -36,6 +36,8 @@ public: virtual void initialize(JS::Realm&) override; virtual ~WindowObject() override = default; + JS::Realm& realm() const { return shape().realm(); } + HTML::Window& impl() { return *m_impl; } const HTML::Window& impl() const { return *m_impl; } |