Index: dm/DMRecordTask.cpp |
diff --git a/dm/DMRecordTask.cpp b/dm/DMRecordTask.cpp |
index 8241ac5aeb92a218d840af36c53741bee92efd6b..28633f20da10ac5598f35ae6658883a9b46da121 100644 |
--- a/dm/DMRecordTask.cpp |
+++ b/dm/DMRecordTask.cpp |
@@ -30,8 +30,7 @@ RecordTask::RecordTask(const Task& parent, SkPicture* pic, SkBitmap reference, M |
void RecordTask::draw() { |
// Record into an SkRecord. |
SkRecord record; |
- SkRecorder recorder(SkRecorder::kWriteOnly_Mode, &record, |
- fReference.width(), fReference.height()); |
+ SkRecorder recorder(&record, fReference.width(), fReference.height()); |
if (fGM.get()) { |
recorder.concat(fGM->getInitialTransform()); |