diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-01 19:52:56 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-01 19:52:56 +0000 |
commit | a1e16e05fb365ad8d29ad6ed95e46bacdaaf83fb (patch) | |
tree | d0c960c21c0f7d0bb8f8333a23d9babc91623a03 /base/rand_util_win.cc | |
parent | ecd9aa34054396f135981f369105af51dec02793 (diff) | |
download | chromium_src-a1e16e05fb365ad8d29ad6ed95e46bacdaaf83fb.zip chromium_src-a1e16e05fb365ad8d29ad6ed95e46bacdaaf83fb.tar.gz chromium_src-a1e16e05fb365ad8d29ad6ed95e46bacdaaf83fb.tar.bz2 |
Add support for CHECK_* macros.
Convert a few places to make sure it works.
Review URL: http://codereview.chromium.org/660221
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40289 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/rand_util_win.cc')
-rw-r--r-- | base/rand_util_win.cc | 2 |
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; } |