Chromium Code Reviews| Index: tests/RandomTest.cpp |
| diff --git a/tests/RandomTest.cpp b/tests/RandomTest.cpp |
| index 8d93d87df6cd7fafbfc11630244b7865217bb580..08ae944686107e1250444f7858b27efaa69d833e 100644 |
| --- a/tests/RandomTest.cpp |
| +++ b/tests/RandomTest.cpp |
| @@ -119,7 +119,7 @@ static double test_single_gorilla(skiatest::Reporter* reporter, int shift) { |
| // now make some strings and track them |
| for (int i = 0; i < kN; ++i) { |
| - value <<= 1; |
| + value *= 2; |
| unsigned int rnd = rand.nextU(); |
| value |= ((rnd >> shift) & 0x1); |