Index: chrome/app/chrome_exe_main_win.cc |
diff --git a/chrome/app/chrome_exe_main_win.cc b/chrome/app/chrome_exe_main_win.cc |
index a180fd0f43370921adfe4761afe36044ceb40ac9..7139ba3d37463ac064be323d666c87751345e3c6 100644 |
--- a/chrome/app/chrome_exe_main_win.cc |
+++ b/chrome/app/chrome_exe_main_win.cc |
@@ -130,17 +130,6 @@ void EnableHighDPISupport() { |
} |
} |
-void SwitchToLFHeap() { |
- // Only needed on XP but harmless on other Windows flavors. |
- auto crt_heap = _get_heap_handle(); |
- ULONG enable_LFH = 2; |
- if (HeapSetInformation(reinterpret_cast<HANDLE>(crt_heap), |
- HeapCompatibilityInformation, |
- &enable_LFH, sizeof(enable_LFH))) { |
- VLOG(1) << "Low fragmentation heap enabled."; |
- } |
-} |
- |
// Returns true if |command_line| contains a /prefetch:# argument where # is in |
// [1, 8]. |
bool HasValidWindowsPrefetchArgument(const base::CommandLine& command_line) { |
@@ -205,8 +194,6 @@ int main() { |
crash_reporter::InitializeCrashpadWithEmbeddedHandler(process_type.empty(), |
process_type); |
- SwitchToLFHeap(); |
- |
startup_metric_utils::RecordExeMainEntryPointTime(base::Time::Now()); |
// Signal Chrome Elf that Chrome has begun to start. |