Index: dm/DMUtil.cpp |
=================================================================== |
--- dm/DMUtil.cpp (revision 14237) |
+++ dm/DMUtil.cpp (working copy) |
@@ -10,10 +10,10 @@ |
return s; |
} |
-SkPicture* RecordPicture(skiagm::GM* gm, uint32_t recordFlags, SkPictureFactory* factory) { |
+SkPicture* RecordPicture(skiagm::GM* gm, uint32_t recordFlags, SkBBHFactory* factory) { |
const SkISize size = gm->getISize(); |
- SkPictureRecorder recorder(factory); |
- SkCanvas* canvas = recorder.beginRecording(size.width(), size.height(), recordFlags); |
+ SkPictureRecorder recorder; |
+ SkCanvas* canvas = recorder.beginRecording(size.width(), size.height(), factory, recordFlags); |
canvas->concat(gm->getInitialTransform()); |
gm->draw(canvas); |
canvas->flush(); |