aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/RecordTest.cpp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2016-03-22 11:46:53 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-22 11:46:53 -0700
commit343a63d082bda969d7e8a4e09ba850e931185269 (patch)
treeaa2a1e863307c6dd6d4499a7a09fb40115b189d8 /tests/RecordTest.cpp
parentd33fe1f1f91a44458ee1a35a83788df74df16c07 (diff)
SkRecord: infer return type for visit() and mutate().
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 e613b425fd..1b4077cce8 100644
--- a/tests/RecordTest.cpp
+++ b/tests/RecordTest.cpp
@@ -29,7 +29,7 @@ public:
void apply(const SkRecord& record) {
for (int i = 0; i < record.count(); i++) {
- record.visit<void>(i, *this);
+ record.visit(i, *this);
}
}
@@ -47,7 +47,7 @@ struct Stretch {
void apply(SkRecord* record) {
for (int i = 0; i < record->count(); i++) {
- record->mutate<void>(i, *this);
+ record->mutate(i, *this);
}
}
};