Index: tests/DeflateWStream.cpp |
diff --git a/tests/DeflateWStream.cpp b/tests/DeflateWStream.cpp |
index 6a419adcfb32e10eecc12c1137bb4c714f45d8ad..4a602f4fa1ce2d9ae9c1b5ca21066ee8b6973f49 100644 |
--- a/tests/DeflateWStream.cpp |
+++ b/tests/DeflateWStream.cpp |
@@ -5,7 +5,6 @@ |
* found in the LICENSE file. |
*/ |
-#include "SkDeflateWStream.h" |
#include "SkFlate.h" |
#include "SkRandom.h" |
#include "Test.h" |
@@ -17,8 +16,8 @@ DEF_TEST(SkDeflateWStream, r) { |
for (int i = 0; i < 50; ++i) { |
uint32_t size = random.nextULessThan(10000); |
SkAutoTMalloc<uint8_t> buffer(size); |
- for (uint32_t i = 0; i < size; ++i) { |
- buffer[i] = random.nextU() & 0xff; |
+ for (uint32_t j = 0; j < size; ++j) { |
+ buffer[j] = random.nextU() & 0xff; |
} |
SkDynamicMemoryWStream dynamicMemoryWStream; |