aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/RecordTest.cpp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-08-19 09:51:00 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-19 09:51:01 -0700
commitc6ad06acefa096716f8dabed5342f9b89dc43dfe (patch)
treed7f0f880609d4e7876790a846cdbab4702590109 /tests/RecordTest.cpp
parent4b013296bf67df6c8d119a8f5a2b3dd6530c0b6f (diff)
unsigned -> int for counts and indices in picture-related code
also, (C) BUG=skia: Review URL: https://codereview.chromium.org/1300163002
Diffstat (limited to 'tests/RecordTest.cpp')
-rw-r--r--tests/RecordTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/RecordTest.cpp b/tests/RecordTest.cpp
index 49efc28d2c..b510da7673 100644
--- a/tests/RecordTest.cpp
+++ b/tests/RecordTest.cpp
@@ -27,7 +27,7 @@ public:
int area() const { return fArea; }
void apply(const SkRecord& record) {
- for (unsigned i = 0; i < record.count(); i++) {
+ for (int i = 0; i < record.count(); i++) {
record.visit<void>(i, *this);
}
}
@@ -45,7 +45,7 @@ struct Stretch {
}
void apply(SkRecord* record) {
- for (unsigned i = 0; i < record->count(); i++) {
+ for (int i = 0; i < record->count(); i++) {
record->mutate<void>(i, *this);
}
}