Index: tests/ImageFilterTest.cpp |
=================================================================== |
--- tests/ImageFilterTest.cpp (revision 14237) |
+++ tests/ImageFilterTest.cpp (working copy) |
@@ -277,9 +277,9 @@ |
SkMatrix expectedMatrix = canvas.getTotalMatrix(); |
- SkAutoTUnref<SkPictureFactory> factory(SkNEW(SkRTreePictureFactory)); |
- SkPictureRecorder recorder(factory); |
- SkCanvas* recordingCanvas = recorder.beginRecording(100, 100); |
+ SkRTreeFactory factory; |
+ SkPictureRecorder recorder; |
+ SkCanvas* recordingCanvas = recorder.beginRecording(100, 100, &factory, 0); |
SkPaint paint; |
SkAutoTUnref<MatrixTestImageFilter> imageFilter( |