remove SK_SUPPORT_LEGACY_INSTALLPIXELSPARAMS code
authorreed <reed@google.com>
Sat, 28 Jun 2014 20:25:31 +0000 (13:25 -0700)
committerCommit bot <commit-bot@chromium.org>
Sat, 28 Jun 2014 20:25:31 +0000 (13:25 -0700)
TBR=

Author: reed@google.com

Review URL: https://codereview.chromium.org/359143002

include/core/SkBitmap.h

index d3c33a8..d3a20c0 100644 (file)
@@ -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