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

Unified Diff: tests/DeflateWStream.cpp

Issue 957323003: miniz support in SkFlate / PDF (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: class comment Created 5 years, 10 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
« no previous file with comments | « src/pdf/SkPDFBitmap.cpp ('k') | third_party/miniz/LICENSE » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « src/pdf/SkPDFBitmap.cpp ('k') | third_party/miniz/LICENSE » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698