1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 09:08:10 +00:00

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
parent 884b7fad48
commit 2b06e4b98b

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())