diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/StyleSheetList.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/CSS/StyleSheetList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/StyleSheetList.cpp b/Userland/Libraries/LibWeb/CSS/StyleSheetList.cpp index b73ae1cc93..9dd7f635d1 100644 --- a/Userland/Libraries/LibWeb/CSS/StyleSheetList.cpp +++ b/Userland/Libraries/LibWeb/CSS/StyleSheetList.cpp @@ -84,7 +84,7 @@ bool StyleSheetList::is_supported_property_index(u32 index) const return index < m_sheets.size(); } -JS::Value StyleSheetList::item_value(size_t index) const +WebIDL::ExceptionOr<JS::Value> StyleSheetList::item_value(size_t index) const { if (index >= m_sheets.size()) return JS::js_undefined(); |