summaryrefslogtreecommitdiffstats
path: root/app/x11_util.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 /app/x11_util.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 'app/x11_util.cc')
-rw-r--r--app/x11_util.cc6
1 files changed, 3 insertions, 3 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 << ")";
}
}