diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLOptionsCollection.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/HTMLOptionsCollection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLOptionsCollection.cpp b/Userland/Libraries/LibWeb/HTML/HTMLOptionsCollection.cpp index 013a26ffa0..e3a2a10def 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLOptionsCollection.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLOptionsCollection.cpp @@ -19,7 +19,7 @@ WebIDL::ExceptionOr<JS::NonnullGCPtr<HTMLOptionsCollection>> HTMLOptionsCollecti } HTMLOptionsCollection::HTMLOptionsCollection(DOM::ParentNode& root, Function<bool(DOM::Element const&)> filter) - : DOM::HTMLCollection(root, move(filter)) + : DOM::HTMLCollection(root, Scope::Descendants, move(filter)) { } |