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-01 20:53:58 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-01 20:53:58 +0000
commitdedd33e7ad19964bab22f4d35c4f66872c463c3d (patch)
tree2374d9ad70f494e4819e601865ff70f216b8b329 /base/rand_util_win.cc
parent4fe33f6f7c6a501136b476e2e51c5577413f50b8 (diff)
downloadchromium_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_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 ec0411e..13e8fb2 100644
--- a/base/rand_util_win.cc
+++ b/base/rand_util_win.cc
@@ -13,7 +13,7 @@ namespace {
uint32 RandUint32() {
uint32 number;
- CHECK_EQ(rand_s(&number), 0);
+ CHECK(rand_s(&number) == 0);
return number;
}