| OLD | NEW |
| 1 #include "SkImagesSupport.h" | 1 #include "SkImagesSupport.h" |
| 2 #include "SkPicture.h" |
| 2 | 3 |
| 3 // This file should be compiled for embedders that do not compile the images sub
library | 4 // This file should be compiled for embedders that do not compile the images sub
library |
| 4 // as part of Skia library. | 5 // as part of Skia library. |
| 6 |
| 7 SkPicture* SkPicture::CreateFromStream(SkStream* stream) { |
| 8 return SkPicture::CreateFromStream(stream, NULL); |
| 9 } |
| 10 |
| 5 #if SK_SUPPORT_GPU && defined(SK_DEVELOPER) | 11 #if SK_SUPPORT_GPU && defined(SK_DEVELOPER) |
| 6 | 12 |
| 7 bool SkSaveGrSurfacePrivPixelsAsPNG(GrSurfacePriv*, const char*) { | 13 bool SkSaveGrSurfacePrivPixelsAsPNG(GrSurfacePriv*, const char*) { |
| 8 SK_CRASH(); | 14 SK_CRASH(); |
| 9 return false; | 15 return false; |
| 10 } | 16 } |
| 11 | 17 |
| 12 #endif | 18 #endif |
| OLD | NEW |