Index: tests/RecorderTest.cpp |
diff --git a/tests/RecorderTest.cpp b/tests/RecorderTest.cpp |
index 3c7b0082b1a71475a48edad368807606da3e1f9b..1c116beb12aff25a210b17d19db6cfe1d27be45a 100644 |
--- a/tests/RecorderTest.cpp |
+++ b/tests/RecorderTest.cpp |
@@ -25,7 +25,7 @@ private: |
DEF_TEST(Recorder, r) { |
SkRecord record; |
- SkRecorder recorder(&record, 1920, 1080); |
+ SkRecorder recorder(SkRecorder::kWriteOnly_Mode, &record, 1920, 1080); |
recorder.drawRect(SkRect::MakeWH(10, 10), SkPaint()); |