diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/Window.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/Window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Window.cpp b/Userland/Libraries/LibWeb/DOM/Window.cpp index e54b383145..1b9f70e320 100644 --- a/Userland/Libraries/LibWeb/DOM/Window.cpp +++ b/Userland/Libraries/LibWeb/DOM/Window.cpp @@ -20,7 +20,7 @@ namespace Web::DOM { NonnullRefPtr<Window> Window::create_with_document(Document& document) { - return adopt(*new Window(document)); + return adopt_ref(*new Window(document)); } Window::Window(Document& document) |