Index: dm/DMReplayTask.cpp |
=================================================================== |
--- dm/DMReplayTask.cpp (revision 14237) |
+++ dm/DMReplayTask.cpp (working copy) |
@@ -23,11 +23,11 @@ |
{} |
void ReplayTask::draw() { |
- SkAutoTUnref<SkPictureFactory> factory; |
+ SkAutoTDelete<SkBBHFactory> factory; |
if (fUseRTree) { |
- factory.reset(SkNEW(SkRTreePictureFactory)); |
+ factory.reset(SkNEW(SkRTreeFactory)); |
} |
- SkAutoTUnref<SkPicture> recorded(RecordPicture(fGM.get(), 0, factory)); |
+ SkAutoTUnref<SkPicture> recorded(RecordPicture(fGM.get(), 0, factory.get())); |
SkBitmap bitmap; |
SetupBitmap(fReference.colorType(), fGM.get(), &bitmap); |