diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-01 20:53:58 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-01 20:53:58 +0000 |
commit | dedd33e7ad19964bab22f4d35c4f66872c463c3d (patch) | |
tree | 2374d9ad70f494e4819e601865ff70f216b8b329 /base/rand_util_posix.cc | |
parent | 4fe33f6f7c6a501136b476e2e51c5577413f50b8 (diff) | |
download | chromium_src-dedd33e7ad19964bab22f4d35c4f66872c463c3d.zip chromium_src-dedd33e7ad19964bab22f4d35c4f66872c463c3d.tar.gz chromium_src-dedd33e7ad19964bab22f4d35c4f66872c463c3d.tar.bz2 |
Revert r40289: "Add support for CHECK_* macros."
Broke official build compilation (only worked on debug/release builds).
Review URL: http://codereview.chromium.org/661298
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40296 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/rand_util_posix.cc')
-rw-r--r-- | base/rand_util_posix.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/rand_util_posix.cc b/base/rand_util_posix.cc index c65551d..a2bdeb8 100644 --- a/base/rand_util_posix.cc +++ b/base/rand_util_posix.cc @@ -22,7 +22,7 @@ class URandomFd { public: URandomFd() { fd_ = open("/dev/urandom", O_RDONLY); - CHECK_GE(fd_, 0) << "Cannot open /dev/urandom: " << errno; + CHECK(fd_ >= 0) << "Cannot open /dev/urandom: " << errno; } ~URandomFd() { |