Index: base/process/memory.h |
diff --git a/base/process/memory.h b/base/process/memory.h |
index da27151d1b1b31b3500bf0c59151d702c2a2c61e..97ee9e71fe0d7f06268d001a78c4f3129c56d65e 100644 |
--- a/base/process/memory.h |
+++ b/base/process/memory.h |
@@ -10,10 +10,6 @@ |
#include "base/process/process_handle.h" |
#include "build/build_config.h" |
-#if defined(OS_WIN) |
-#include <windows.h> |
-#endif |
- |
#ifdef PVALLOC_AVAILABLE |
// Build config explicitly tells us whether or not pvalloc is available. |
#elif defined(LIBC_GLIBC) && !defined(USE_TCMALLOC) |
@@ -43,12 +39,6 @@ BASE_EXPORT void EnableTerminationOnOutOfMemory(); |
// Crash reporting classifies such crashes as OOM. |
BASE_EXPORT void TerminateBecauseOutOfMemory(size_t size); |
-#if defined(OS_WIN) |
-// Returns the module handle to which an address belongs. The reference count |
-// of the module is not incremented. |
-BASE_EXPORT HMODULE GetModuleFromAddress(void* address); |
-#endif |
- |
#if defined(OS_LINUX) || defined(OS_ANDROID) |
BASE_EXPORT extern size_t g_oom_size; |