Index: bench/nanobench.cpp |
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp |
index 5e8bd50c0c895f356d7ab8fb44661257012a7909..e0d6da84eab8956eb2e5f9d5bb973da0307006a9 100644 |
--- a/bench/nanobench.cpp |
+++ b/bench/nanobench.cpp |
@@ -548,7 +548,8 @@ public: |
static const int kFlags = SkPictureRecorder::kComputeSaveLayerInfo_RecordFlag; |
pic->playback(recorder.beginRecording(pic->cullRect().width(), |
pic->cullRect().height(), |
- &factory, kFlags)); |
+ &factory, |
+ fUseMPDs[fCurrentUseMPD] ? kFlags : 0)); |
pic.reset(recorder.endRecording()); |
} |
SkString name = SkOSPath::Basename(path.c_str()); |