summaryrefslogtreecommitdiff
path: root/Userland/Applications/Browser/CookiesModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/Browser/CookiesModel.cpp')
-rw-r--r--Userland/Applications/Browser/CookiesModel.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Userland/Applications/Browser/CookiesModel.cpp b/Userland/Applications/Browser/CookiesModel.cpp
index facae3722b..bea2296509 100644
--- a/Userland/Applications/Browser/CookiesModel.cpp
+++ b/Userland/Applications/Browser/CookiesModel.cpp
@@ -97,4 +97,10 @@ TriState CookiesModel::data_matches(GUI::ModelIndex const& index, GUI::Variant c
return TriState::False;
}
+Web::Cookie::Cookie const& CookiesModel::get_cookie(GUI::ModelIndex const& index) const
+{
+ VERIFY(index.is_valid());
+ return m_cookies[index.row()];
+}
+
}