Index: tests/RecordCullingTest.cpp |
diff --git a/tests/RecordCullingTest.cpp b/tests/RecordCullingTest.cpp |
index c6711c6f67d3c238056e841e29dbfcf06de3cd7a..c6fe10e07bd659f36c82185fa6d207031d0d9a5b 100644 |
--- a/tests/RecordCullingTest.cpp |
+++ b/tests/RecordCullingTest.cpp |
@@ -18,7 +18,7 @@ template <> void PushCullScanner::operator()(const SkRecords::PushCull& record) |
DEF_TEST(RecordCulling, r) { |
SkRecord record; |
- SkRecorder recorder(&record, 1920, 1080); |
+ SkRecorder recorder(SkRecorder::kWriteOnly_Mode, &record, 1920, 1080); |
recorder.drawRect(SkRect::MakeWH(1000, 10000), SkPaint()); |