Index: dm/DMTileGridTask.cpp |
=================================================================== |
--- dm/DMTileGridTask.cpp (revision 14237) |
+++ dm/DMTileGridTask.cpp (working copy) |
@@ -24,15 +24,15 @@ |
} |
void TileGridTask::draw() { |
- const SkTileGridPicture::TileGridInfo info = { |
+ const SkTileGridFactory::TileGridInfo info = { |
fTileSize, |
- SkISize::Make(0,0), // Overlap between adjacent tiles. |
- SkIPoint::Make(0,0), // Offset. |
+ SkISize::Make(0,0), // Overlap between adjacent tiles. |
+ SkIPoint::Make(0,0), // Offset. |
}; |
- SkAutoTUnref<SkPictureFactory> factory(SkNEW_ARGS(SkTileGridPictureFactory, (info))); |
+ SkTileGridFactory factory(info); |
SkAutoTUnref<SkPicture> recorded(RecordPicture(fGM.get(), |
SkPicture::kUsePathBoundsForClip_RecordingFlag, |
- factory)); |
+ &factory)); |
SkBitmap full; |
SetupBitmap(fReference.colorType(), fGM.get(), &full); |