Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2394)

Unified Diff: chrome/browser/safe_browsing/bloom_filter_unittest.cc

Issue 4079: Porting refactoring changes:... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)
}
}

Powered by Google App Engine
This is Rietveld 408576698