Index: src/ports/SkImagesSupport_noimages.cpp |
diff --git a/src/ports/SkImagesSupport_noimages.cpp b/src/ports/SkImagesSupport_noimages.cpp |
index edc99c14f2c82a86b2827d2aad57347419fe78ea..89c40aaae1379f6a4e4528964faa3ab3562d6bb5 100644 |
--- a/src/ports/SkImagesSupport_noimages.cpp |
+++ b/src/ports/SkImagesSupport_noimages.cpp |
@@ -1,7 +1,13 @@ |
#include "SkImagesSupport.h" |
+#include "SkPicture.h" |
// This file should be compiled for embedders that do not compile the images sublibrary |
// as part of Skia library. |
+ |
+SkPicture* SkPicture::CreateFromStream(SkStream* stream) { |
+ return SkPicture::CreateFromStream(stream, NULL); |
+} |
+ |
#if SK_SUPPORT_GPU && defined(SK_DEVELOPER) |
bool SkSaveGrSurfacePrivPixelsAsPNG(GrSurfacePriv*, const char*) { |