From c71da1f6ed3a5e1a3eb2dd860b8129e1b423f9f4 Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Wed, 7 May 2014 21:16:09 +0000 Subject: Convert all SkRecordPattern matchers into SkRecord mutators. - Allow any return type from SkRecord mutators and visitors; - update existing calls to mutate and visit; - convert match to operator() in SkRecordPattern; - tidy up a few inelegant bits of old code in tests. The net result is that the generated code is much clearer. All the mutate() calls inline as you'd hope, and you can now actually follow along with the disassembly. BUG=skia:2378 R=fmalita@chromium.org, bungeman@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/273643007 git-svn-id: http://skia.googlecode.com/svn/trunk@14631 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/RecorderTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/RecorderTest.cpp') diff --git a/tests/RecorderTest.cpp b/tests/RecorderTest.cpp index 407cf9add0..8fa198cd6d 100644 --- a/tests/RecorderTest.cpp +++ b/tests/RecorderTest.cpp @@ -30,7 +30,7 @@ public: void apply(const SkRecord& record) { for (unsigned i = 0; i < record.count(); i++) { - record.visit(i, *this); + record.visit(i, *this); } } -- cgit v1.2.3