aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/bench_record.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bench_record.cpp')
-rw-r--r--tools/bench_record.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/bench_record.cpp b/tools/bench_record.cpp
index 45a143f824..fe28e342a4 100644
--- a/tools/bench_record.cpp
+++ b/tools/bench_record.cpp
@@ -61,11 +61,11 @@ static SkBBHFactory* parse_FLAGS_bbh() {
static void rerecord(const SkPicture& src, SkBBHFactory* bbhFactory) {
SkPictureRecorder recorder;
if (FLAGS_skr) {
- src.draw(recorder.EXPERIMENTAL_beginRecording(src.cullRect().width(),
+ src.playback(recorder.EXPERIMENTAL_beginRecording(src.cullRect().width(),
src.cullRect().height(),
bbhFactory));
} else {
- src.draw(recorder. DEPRECATED_beginRecording(src.cullRect().width(),
+ src.playback(recorder. DEPRECATED_beginRecording(src.cullRect().width(),
src.cullRect().height(),
bbhFactory));
}