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

Unified Diff: base/process/memory.cc

Issue 2173463002: Make base::TerminateBecauseOutOfMemory call RaiseException on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: implement in memory_stubs Created 4 years, 5 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 | « base/process/memory.h ('k') | base/process/memory_stubs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process/memory.cc
diff --git a/base/process/memory.cc b/base/process/memory.cc
index 75d45303eba1afc4f6a25a7ac40c205f56ce87ec..6349c08ca0a78643753564943b15509717cb303a 100644
--- a/base/process/memory.cc
+++ b/base/process/memory.cc
@@ -9,6 +9,9 @@
namespace base {
+// Defined in memory_win.cc for Windows.
+#if !defined(OS_WIN)
+
namespace {
// Breakpad server classifies base::`anonymous namespace'::OnNoMemory as
@@ -25,6 +28,8 @@ void TerminateBecauseOutOfMemory(size_t size) {
OnNoMemory(size);
}
+#endif
+
// Defined in memory_mac.mm for Mac.
#if !defined(OS_MACOSX)
« no previous file with comments | « base/process/memory.h ('k') | base/process/memory_stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698