Commit c80d453c authored by tsepez@chromium.org's avatar tsepez@chromium.org

Revert: 178586 Avoid fragmenting address space on small windows systems.

Patch was never properly enabled, and breaks XP when it is enabled. This
is the first step towards getting CPU(32BIT) fixed, at which point this
can be re-implemented and tested properly by CQ given a correct CPU(32BIT)
definition.

BUG=394591
R=cevans@chromium.org

Review URL: https://codereview.chromium.org/721813002

git-svn-id: svn://svn.chromium.org/blink/trunk@185256 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent caa05815
......@@ -69,11 +69,8 @@ static bool shouldUseAddressHint()
// is running under WOW64, then it has at least 3 GB available (and likely
// 4 GB depending upon the OS version), and we want use the additional
// randomness.
static BOOL bIsWow64 = -1;
if (bIsWow64 == -1) {
IsWow64Process(GetCurrentProcess(), &bIsWow64);
}
return !!bIsWow64;
// TODO(tsepez): presently disabled due to IsWow64Process() compatibility.
return true;
#else // CPU(32BIT)
return true;
#endif // CPU(32BIT)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment