diff options
author | mtklein <mtklein@chromium.org> | 2016-03-22 11:46:53 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-22 11:46:53 -0700 |
commit | 343a63d082bda969d7e8a4e09ba850e931185269 (patch) | |
tree | aa2a1e863307c6dd6d4499a7a09fb40115b189d8 /tests/RecordTest.cpp | |
parent | d33fe1f1f91a44458ee1a35a83788df74df16c07 (diff) |
SkRecord: infer return type for visit() and mutate().
Review URL: https://codereview.chromium.org/1824983003
Diffstat (limited to 'tests/RecordTest.cpp')
-rw-r--r-- | tests/RecordTest.cpp | 4 |
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); } } }; |