1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:37:34 +00:00

LibWeb: Move code that generates uuid into separate function

Make possible to generate uuid without having crypto class instance.
This commit is contained in:
Aliaksandr Kalenik 2023-03-13 16:22:07 +03:00 committed by Tim Flynn
parent 12cd74495a
commit e8550ed21d
2 changed files with 21 additions and 12 deletions

View file

@ -35,4 +35,6 @@ private:
JS::GCPtr<SubtleCrypto> m_subtle;
};
ErrorOr<String> generate_random_uuid();
}