From 343a63d082bda969d7e8a4e09ba850e931185269 Mon Sep 17 00:00:00 2001 From: mtklein Date: Tue, 22 Mar 2016 11:46:53 -0700 Subject: SkRecord: infer return type for visit() and mutate(). Review URL: https://codereview.chromium.org/1824983003 --- tests/RecordTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/RecordTest.cpp') 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(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(i, *this); + record->mutate(i, *this); } } }; -- cgit v1.2.3