Skip to content
Commit 7532d4af authored by Benoit Lize's avatar Benoit Lize Committed by Chromium LUCI CQ
Browse files

[base] Make InsecureRandomGenerator seeded in its constructor.

This changes base::InsecureRandomGenerator so that there is no need to
seed it before using, as its constructor now makes sure it is seeded.
Since the constructor is no longer constexpr, its use in PartitionAlloc
is updated to initialize it upon first use.

Change-Id: Iae3c63102ef5bf0416751956874e8ffcd045685b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3006803


Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Reviewed-by: default avatarSami Kyöstilä <skyostil@chromium.org>
Commit-Queue: Benoit L <lizeb@chromium.org>
Cr-Commit-Position: refs/heads/main@{#914692}
parent d5217846
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment