aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2014-06-28 13:25:31 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-06-28 13:25:31 -0700
commitce41ad1b3384473bec4e4fd32aac70d0ab15d0e1 (patch)
tree22a52af1c494042c6a3628f25b3e2797433ec074 /include/core
parent4af35f348b2e2f6c428819118eb7a2f2fff53a74 (diff)
remove SK_SUPPORT_LEGACY_INSTALLPIXELSPARAMS code
TBR= Author: reed@google.com Review URL: https://codereview.chromium.org/359143002
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkBitmap.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h
index d3c33a8e03..d3a20c05eb 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