Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3717)

Unified Diff: base/allocator/partition_allocator/address_space_randomization.cc

Issue 2614883006: Change PartitionAlloc to Chromium naming style. (Closed)
Patch Set: Rebase and fix some names. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/allocator/partition_allocator/address_space_randomization.cc
diff --git a/base/allocator/partition_allocator/address_space_randomization.cc b/base/allocator/partition_allocator/address_space_randomization.cc
index fd66b1b0e14000e437a8d91e0c51390a38b715aa..1be5baf189c1d65389956b13e65d7288ad18ea1c 100644
--- a/base/allocator/partition_allocator/address_space_randomization.cc
+++ b/base/allocator/partition_allocator/address_space_randomization.cc
@@ -80,7 +80,7 @@ static struct ranctx s_ranctx;
// Calculates a random preferred mapping address. In calculating an address, we
// balance good ASLR against not fragmenting the address space too badly.
-void* getRandomPageBase() {
+void* GetRandomPageBase() {
uintptr_t random;
random = static_cast<uintptr_t>(ranval(&s_ranctx));
#if defined(ARCH_CPU_X86_64)
« no previous file with comments | « base/allocator/partition_allocator/address_space_randomization.h ('k') | base/allocator/partition_allocator/page_allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698