Fix botched merge of https://crrev.com/688711 for PartitionAlloc.

Fortunately, SetMmapSeedForTesting() isn't called anywhere in PDFium, so
this did not matter too much. Fix this up to minimize the difference
compared to PartitionAlloc in Chromium.

Change-Id: Iccb2b140e5d585f4dbf6c7c92fe9b39edcc54188
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/63334
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
diff --git a/third_party/base/allocator/partition_allocator/random.h b/third_party/base/allocator/partition_allocator/random.h
index d5c0ce3..e485d6d 100644
--- a/third_party/base/allocator/partition_allocator/random.h
+++ b/third_party/base/allocator/partition_allocator/random.h
@@ -12,14 +12,16 @@
 namespace pdfium {
 namespace base {
 
+// Returns a random value. The generator's internal state is initialized with
+// `base::RandUint64` which is very unpredictable, but which is expensive due to
+// the need to call into the kernel. Therefore this generator uses a fast,
+// entirely user-space function after initialization.
 BASE_EXPORT uint32_t RandomValue();
 
-// TODO(crbug.com/984742): Rename this to `SetRandomSeedForTesting`.
-//
 // Sets the seed for the random number generator to a known value, to cause the
 // RNG to generate a predictable sequence of outputs. May be called multiple
 // times.
-BASE_EXPORT void SetRandomPageBaseSeed(int64_t seed);
+BASE_EXPORT void SetMmapSeedForTesting(uint64_t seed);
 
 }  // namespace base
 }  // namespace pdfium