LibWeb: Mark Origin::serialize() as const

This commit is contained in:
Linus Groh 2022-07-14 00:48:06 +01:00 committed by Andreas Kling
commit 2b06e4b98b
Notes: sideshowbarker 2024-07-17 08:53:47 +09:00

View file

@ -67,7 +67,7 @@ public:
}
// https://html.spec.whatwg.org/multipage/origin.html#ascii-serialisation-of-an-origin
String serialize()
String serialize() const
{
// 1. If origin is an opaque origin, then return "null"
if (is_opaque())