Index: gm/gmmain.cpp |
=================================================================== |
--- gm/gmmain.cpp (revision 10214) |
+++ gm/gmmain.cpp (working copy) |
@@ -1025,7 +1025,7 @@ |
static SkPicture* stream_to_new_picture(const SkPicture& src) { |
SkDynamicMemoryWStream storage; |
src.serialize(&storage); |
- SkAutoTUnref<SkStreamAsset> pictReadback(storage.detatchAsStream()); |
+ SkAutoTUnref<SkStreamAsset> pictReadback(storage.detachAsStream()); |
SkPicture* retval = SkPicture::CreateFromStream(pictReadback); |
return retval; |
} |
@@ -1063,7 +1063,7 @@ |
bitmap = NULL; // we don't generate a bitmap rendering of the XPS file |
} |
- SkAutoTUnref<SkStreamAsset> documentStream(document.detatchAsStream()); |
+ SkAutoTUnref<SkStreamAsset> documentStream(document.detachAsStream()); |
if (NULL == bitmap) { |
return compare_test_results_to_stored_expectations( |
gm, gRec, writePath, NULL, documentStream); |