Index: tools/bench_record.cpp |
diff --git a/tools/bench_record.cpp b/tools/bench_record.cpp |
index db0ea9b71fe54cea6a457a6280c31dd926d1f0fb..e59744b1dc8d410f12976d2ee83f4410d87e7544 100644 |
--- a/tools/bench_record.cpp |
+++ b/tools/bench_record.cpp |
@@ -79,7 +79,7 @@ static void bench_record(SkPicture* src, const char* name, PictureFactory pictur |
for (int i = 0; i < FLAGS_loops; i++) { |
if (FLAGS_skr) { |
SkRecord record; |
- SkRecorder canvas(&record, width, height); |
+ SkRecorder canvas(SkRecorder::kWriteOnly_Mode, &record, width, height); |
if (NULL != src) { |
src->draw(&canvas); |
} |