summaryrefslogtreecommitdiffstats
path: root/base/rand_util_win.cc
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-02 00:41:12 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-02 00:41:12 +0000
commite150c038b4bc92ce5518688737d32bc5208fa250 (patch)
tree55049a108f68c9804276c4603f0f0c6c32c12589 /base/rand_util_win.cc
parent2a040cd88b04d101c2b1612c6c3c92cb6f68176b (diff)
downloadchromium_src-e150c038b4bc92ce5518688737d32bc5208fa250.zip
chromium_src-e150c038b4bc92ce5518688737d32bc5208fa250.tar.gz
chromium_src-e150c038b4bc92ce5518688737d32bc5208fa250.tar.bz2
Reland r40289: "Add support for CHECK_* macros.""
Make sure DEFINE_CHECK_OP_IMPL isn't omitted for official builds. Review URL: http://codereview.chromium.org/661325 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40327 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/rand_util_win.cc')
-rw-r--r--base/rand_util_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/rand_util_win.cc b/base/rand_util_win.cc
index 13e8fb2..ec0411e 100644
--- a/base/rand_util_win.cc
+++ b/base/rand_util_win.cc
@@ -13,7 +13,7 @@ namespace {
uint32 RandUint32() {
uint32 number;
- CHECK(rand_s(&number) == 0);
+ CHECK_EQ(rand_s(&number), 0);
return number;
}