From ce41ad1b3384473bec4e4fd32aac70d0ab15d0e1 Mon Sep 17 00:00:00 2001 From: reed Date: Sat, 28 Jun 2014 13:25:31 -0700 Subject: [PATCH] remove SK_SUPPORT_LEGACY_INSTALLPIXELSPARAMS code TBR= Author: reed@google.com Review URL: https://codereview.chromium.org/359143002 --- include/core/SkBitmap.h | 8 -------- 1 file changed, 8 deletions(-) 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 -- 2.7.4