summaryrefslogtreecommitdiffstats
path: root/base/process_util_linux.cc
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-05 00:43:22 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-05 00:43:22 +0000
commit8e6b2c1c965662a2ac519423f2d2bcde692e6a3d (patch)
treeee9f699ebf81fdccfcbb3267c69543c13e80bc66 /base/process_util_linux.cc
parent88e326c6ec37d2c7aed12f9d5f1a5a3242ba1908 (diff)
downloadchromium_src-8e6b2c1c965662a2ac519423f2d2bcde692e6a3d.zip
chromium_src-8e6b2c1c965662a2ac519423f2d2bcde692e6a3d.tar.gz
chromium_src-8e6b2c1c965662a2ac519423f2d2bcde692e6a3d.tar.bz2
Replace CHECK(false) by LOG(FATAL) where appropriate.
The difference is that the error message doesn't contain "Assertion failed: false". Review URL: http://codereview.chromium.org/1970001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46422 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util_linux.cc')
-rw-r--r--base/process_util_linux.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/process_util_linux.cc b/base/process_util_linux.cc
index 61ad97e..0a2cc0d 100644
--- a/base/process_util_linux.cc
+++ b/base/process_util_linux.cc
@@ -500,8 +500,8 @@ namespace {
void OnNoMemorySize(size_t size) {
if (size != 0)
- CHECK(false) << "Out of memory, size = " << size;
- CHECK(false) << "Out of memory.";
+ LOG(FATAL) << "Out of memory, size = " << size;
+ LOG(FATAL) << "Out of memory.";
}
void OnNoMemory() {