Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(626)

Unified Diff: include/core/SkBitmap.h

Issue 359143002: remove SK_SUPPORT_LEGACY_INSTALLPIXELSPARAMS code (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkBitmap.h
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h
index d3c33a8e034d23e9c7ee00f0bf571e2e0b43ece3..d3a20c05eb8b3ba858487c8e15b1565c34b3308b 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698