From: reed Date: Sat, 28 Jun 2014 20:25:31 +0000 (-0700) Subject: remove SK_SUPPORT_LEGACY_INSTALLPIXELSPARAMS code X-Git-Tag: accepted/tizen/5.0/unified/20181102.025319~7018 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ce41ad1b3384473bec4e4fd32aac70d0ab15d0e1;p=platform%2Fupstream%2FlibSkiaSharp.git remove SK_SUPPORT_LEGACY_INSTALLPIXELSPARAMS code TBR= Author: reed@google.com Review URL: https://codereview.chromium.org/359143002 --- diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h index d3c33a8..d3a20c0 100644 --- a/include/core/SkBitmap.h +++ b/include/core/SkBitmap.h @@ -325,14 +325,6 @@ public: bool installPixels(const SkImageInfo&, void* pixels, size_t rowBytes, SkColorTable*, void (*releaseProc)(void* addr, void* context), void* context); -#ifdef SK_SUPPORT_LEGACY_INSTALLPIXELSPARAMS - bool installPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, - void (*releaseProc)(void* addr, void* context), - void* context) { - return this->installPixels(info, pixels, rowBytes, NULL, releaseProc, context); - } -#endif - /** * Call installPixels with no ReleaseProc specified. This means that the * caller must ensure that the specified pixels are valid for the lifetime