Chromium Code Reviews| Index: chrome/browser/safe_browsing/bloom_filter_unittest.cc |
| =================================================================== |
| --- chrome/browser/safe_browsing/bloom_filter_unittest.cc (revision 2544) |
| +++ chrome/browser/safe_browsing/bloom_filter_unittest.cc (working copy) |
| @@ -8,15 +8,15 @@ |
| #include <set> |
| #include "base/logging.h" |
| +#include "base/rand_util.h" |
| #include "base/string_util.h" |
| #include "base/win_util.h" |
| -#include "chrome/common/rand_util.h" |
| #include "testing/gtest/include/gtest/gtest.h" |
| namespace { |
| uint32 GenHash() { |
| - return static_cast<uint32>(rand_util::RandIntSecure(0, kint32max)); |
| + return static_cast<uint32>(base::RandInt(0, kuint32max)); |
|
Mark Mentovai
2008/09/29 22:20:05
This is wrong and trips our new DCHECK(min <= max)
|
| } |
| } |