summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/x11_util.cc6
-rw-r--r--base/bzip2_error_handler.cc2
-rw-r--r--base/process_util_linux.cc4
-rw-r--r--base/thread_local_win.cc2
-rw-r--r--chrome/browser/extensions/extension_message_service.cc4
-rw-r--r--chrome/renderer/renderer_main_platform_delegate_win.cc2
-rw-r--r--net/proxy/init_proxy_resolver_unittest.cc4
7 files changed, 12 insertions, 12 deletions
diff --git a/app/x11_util.cc b/app/x11_util.cc
index b6b63b3..edf5f2f 100644
--- a/app/x11_util.cc
+++ b/app/x11_util.cc
@@ -624,9 +624,9 @@ void PutARGBImage(Display* display, void* visual, int depth, XID pixmap,
width, height);
free(orig_bitmap16);
} else {
- CHECK(false) << "Sorry, we don't support your visual depth without "
- "Xrender support (depth:" << depth
- << " bpp:" << pixmap_bpp << ")";
+ LOG(FATAL) << "Sorry, we don't support your visual depth without "
+ "Xrender support (depth:" << depth
+ << " bpp:" << pixmap_bpp << ")";
}
}
diff --git a/base/bzip2_error_handler.cc b/base/bzip2_error_handler.cc
index 215c0c0..564cabd 100644
--- a/base/bzip2_error_handler.cc
+++ b/base/bzip2_error_handler.cc
@@ -8,5 +8,5 @@
// error reporting. This requires us to export our own error handler.
extern "C"
void bz_internal_error(int errcode) {
- CHECK(false) << "bzip2 internal error: " << errcode;
+ LOG(FATAL) << "bzip2 internal error: " << errcode;
}
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() {
diff --git a/base/thread_local_win.cc b/base/thread_local_win.cc
index 27a894c..368c0d6 100644
--- a/base/thread_local_win.cc
+++ b/base/thread_local_win.cc
@@ -31,7 +31,7 @@ void* ThreadLocalPlatform::GetValueFromSlot(SlotType& slot) {
// static
void ThreadLocalPlatform::SetValueInSlot(SlotType& slot, void* value) {
if (!TlsSetValue(slot, value)) {
- CHECK(false) << "Failed to TlsSetValue().";
+ LOG(FATAL) << "Failed to TlsSetValue().";
}
}
diff --git a/chrome/browser/extensions/extension_message_service.cc b/chrome/browser/extensions/extension_message_service.cc
index 731e7b8..f3fb6a0 100644
--- a/chrome/browser/extensions/extension_message_service.cc
+++ b/chrome/browser/extensions/extension_message_service.cc
@@ -513,9 +513,9 @@ void ExtensionMessageService::Observe(NotificationType type,
MessageChannelMap::iterator current = it++;
int debug_info = current->second->receiver.debug_info;
if (current->second->opener.sender == sender) {
- CHECK(false) << "Shouldn't happen:" << debug_info;
+ LOG(FATAL) << "Shouldn't happen:" << debug_info;
} else if (current->second->receiver.sender == sender) {
- CHECK(false) << "Shouldn't happen either: " << debug_info;
+ LOG(FATAL) << "Shouldn't happen either: " << debug_info;
}
}
OnSenderClosed(sender);
diff --git a/chrome/renderer/renderer_main_platform_delegate_win.cc b/chrome/renderer/renderer_main_platform_delegate_win.cc
index 9b3ea65..d5cca59 100644
--- a/chrome/renderer/renderer_main_platform_delegate_win.cc
+++ b/chrome/renderer/renderer_main_platform_delegate_win.cc
@@ -48,7 +48,7 @@ void EnableThemeSupportForRenderer(bool no_sandbox) {
if (!current || !::SetProcessWindowStation(current)) {
// We failed to switch back to the secure window station. This might
// confuse the renderer enough that we should kill it now.
- CHECK(false) << "Failed to restore alternate window station";
+ LOG(FATAL) << "Failed to restore alternate window station";
}
if (!::CloseWindowStation(winsta0)) {
diff --git a/net/proxy/init_proxy_resolver_unittest.cc b/net/proxy/init_proxy_resolver_unittest.cc
index 6610d4c..397db1ef 100644
--- a/net/proxy/init_proxy_resolver_unittest.cc
+++ b/net/proxy/init_proxy_resolver_unittest.cc
@@ -68,7 +68,7 @@ class Rules {
if (it->url == url)
return *it;
}
- CHECK(false) << "Rule not found for " << url;
+ LOG(FATAL) << "Rule not found for " << url;
return rules_[0];
}
@@ -78,7 +78,7 @@ class Rules {
if (it->bytes() == bytes)
return *it;
}
- CHECK(false) << "Rule not found for " << bytes;
+ LOG(FATAL) << "Rule not found for " << bytes;
return rules_[0];
}