diff options
-rw-r--r-- | src/core/SkPicture.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/core/SkPicture.cpp b/src/core/SkPicture.cpp index d1a81a5aff..6239763c3d 100644 --- a/src/core/SkPicture.cpp +++ b/src/core/SkPicture.cpp @@ -447,12 +447,8 @@ SkPicture* SkPicture::CreateFromStream(SkStream* stream, InstallPixelRefProc pro if (NULL == data) { return NULL; } -#if 0 const SkPicture src(data, info.fWidth, info.fHeight); return Forwardport(src); -#else - return SkNEW_ARGS(SkPicture, (data, info.fWidth, info.fHeight)); -#endif } return NULL; @@ -472,12 +468,8 @@ SkPicture* SkPicture::CreateFromBuffer(SkReadBuffer& buffer) { if (NULL == data) { return NULL; } -#if 0 const SkPicture src(data, info.fWidth, info.fHeight); return Forwardport(src); -#else - return SkNEW_ARGS(SkPicture, (data, info.fWidth, info.fHeight)); -#endif } return NULL; |