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

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

Issue 779163002: Fixing loop to count up from the bottom instead of the top. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/prefix_set_unittest.cc
diff --git a/chrome/browser/safe_browsing/prefix_set_unittest.cc b/chrome/browser/safe_browsing/prefix_set_unittest.cc
index dc0be83b17c8a350b51b1592ed0184966d7a5a7d..23269aeda3d90d1fa186b7375ccf02b8fcabccf9 100644
--- a/chrome/browser/safe_browsing/prefix_set_unittest.cc
+++ b/chrome/browser/safe_browsing/prefix_set_unittest.cc
@@ -277,8 +277,8 @@ TEST_F(PrefixSetTest, AllBig) {
std::vector<SBPrefix> prefixes;
const unsigned kDelta = 10 * 1000 * 1000;
- for (SBPrefix prefix = kHighBitSet;
- prefix < kHighBitClear; prefix += kDelta) {
+ for (SBPrefix prefix = kHighBitClear;
+ prefix < kHighBitSet; prefix += kDelta) {
prefixes.push_back(prefix);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698