Index: tools/dump_record.cpp |
diff --git a/tools/dump_record.cpp b/tools/dump_record.cpp |
index 14b1a5bbe01dc81dcdc24828d6cb03eb3214868b..4fb1cf502f895be3c9e116ac24a4bf2bec93c16b 100644 |
--- a/tools/dump_record.cpp |
+++ b/tools/dump_record.cpp |
@@ -60,10 +60,9 @@ int tool_main(int argc, char** argv) { |
const int w = src->width(), h = src->height(); |
SkRecord record; |
- SkRecorder canvas(SkRecorder::kWriteOnly_Mode, &record, w, h); |
+ SkRecorder canvas(&record, w, h); |
src->draw(&canvas); |
- |
if (FLAGS_optimize) { |
SkRecordOptimize(&record); |
} |