diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/LayoutPosition.h')
-rw-r--r-- | Userland/Libraries/LibWeb/Layout/LayoutPosition.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/LayoutPosition.h b/Userland/Libraries/LibWeb/Layout/LayoutPosition.h index f924e75ebb..7ab85c4a07 100644 --- a/Userland/Libraries/LibWeb/Layout/LayoutPosition.h +++ b/Userland/Libraries/LibWeb/Layout/LayoutPosition.h @@ -7,6 +7,7 @@ #pragma once #include <AK/RefPtr.h> +#include <LibJS/Heap/GCPtr.h> #include <LibWeb/Forward.h> #include <LibWeb/Layout/Node.h> @@ -48,7 +49,7 @@ public: LayoutRange normalized() const; - NonnullRefPtr<DOM::Range> to_dom_range() const; + JS::NonnullGCPtr<DOM::Range> to_dom_range() const; private: LayoutPosition m_start; |