Index: tests/RecordOptsTest.cpp |
diff --git a/tests/RecordOptsTest.cpp b/tests/RecordOptsTest.cpp |
index e55024400479ea01d0c0bb32513aecc53a02dab3..25102c4fc8c7ffad5ff4552e820de0e7a6e42076 100644 |
--- a/tests/RecordOptsTest.cpp |
+++ b/tests/RecordOptsTest.cpp |
@@ -43,7 +43,7 @@ DEF_TEST(RecordOpts_SingleNoopSaveRestore, r) { |
recorder.restore(); |
SkRecordNoopSaveRestores(&record); |
- for (unsigned i = 0; i < 3; i++) { |
+ for (int i = 0; i < 3; i++) { |
assert_type<SkRecords::NoOp>(r, record, i); |
} |
} |
@@ -66,7 +66,7 @@ DEF_TEST(RecordOpts_NoopSaveRestores, r) { |
recorder.restore(); |
SkRecordNoopSaveRestores(&record); |
- for (unsigned index = 0; index < record.count(); index++) { |
+ for (int index = 0; index < record.count(); index++) { |
assert_type<SkRecords::NoOp>(r, record, index); |
} |
} |
@@ -102,7 +102,7 @@ DEF_TEST(RecordOpts_SaveSaveLayerRestoreRestore, r) { |
static void assert_savelayer_restore(skiatest::Reporter* r, |
SkRecord* record, |
- unsigned i, |
+ int i, |
bool shouldBeNoOped) { |
SkRecordNoopSaveLayerDrawRestores(record); |
if (shouldBeNoOped) { |
@@ -175,7 +175,7 @@ DEF_TEST(RecordOpts_NoopSaveLayerDrawRestore, r) { |
static void assert_merge_svg_opacity_and_filter_layers(skiatest::Reporter* r, |
SkRecord* record, |
- unsigned i, |
+ int i, |
bool shouldBeNoOped) { |
SkRecordMergeSvgOpacityAndFilterLayers(record); |
if (shouldBeNoOped) { |