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

Unified Diff: Source/wtf/PageAllocator.cpp

Issue 23672027: Rename OS(WINDOWS) to OS(WIN) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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
« no previous file with comments | « Source/wtf/NumberOfCores.cpp ('k') | Source/wtf/ProcessID.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/PageAllocator.cpp
diff --git a/Source/wtf/PageAllocator.cpp b/Source/wtf/PageAllocator.cpp
index 96ccf7ef867836529fc24c6968e03e6a792d306f..b7442f9bc7f57f1a861d2b5685fb9355074a15a0 100644
--- a/Source/wtf/PageAllocator.cpp
+++ b/Source/wtf/PageAllocator.cpp
@@ -47,7 +47,7 @@
#define MAP_ANONYMOUS MAP_ANON
#endif
-#elif OS(WINDOWS)
+#elif OS(WIN)
#include <windows.h>
@@ -146,7 +146,7 @@ char* getRandomSuperPageBase()
random |= static_cast<uintptr_t>(cryptographicallyRandomNumber());
// This address mask gives a low liklihood of address space collisions.
// We handle the situation gracefully if there is a collision.
-#if OS(WINDOWS)
+#if OS(WIN)
// 64-bit Windows has a bizarrely small 8TB user address space.
// Allocates in the 1-5TB region.
random &= (0x3ffffffffffUL & kSuperPageBaseMask);
« no previous file with comments | « Source/wtf/NumberOfCores.cpp ('k') | Source/wtf/ProcessID.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698