diff options
author | Mike Reed <reed@google.com> | 2017-04-20 10:32:02 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-04-20 15:15:58 +0000 |
commit | ad8b5dc69cd613cc8974999f9e7c94a19eb01fec (patch) | |
tree | f5050988f450990974e41cab7a8a7b0190ca022c /include/core/SkBitmap.h | |
parent | ad5a81b06446a7415cf82e1ef3bce1795cf27830 (diff) |
remove vestigle code for lockpixels
Bug: skia:6481
Change-Id: Icfd53981b8588fbea74fca2e3be58bc6f13ef923
Reviewed-on: https://skia-review.googlesource.com/13968
Reviewed-by: Matt Sarett <msarett@google.com>
Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'include/core/SkBitmap.h')
-rw-r--r-- | include/core/SkBitmap.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h index e19f45232e..8818829a41 100644 --- a/include/core/SkBitmap.h +++ b/include/core/SkBitmap.h @@ -419,12 +419,6 @@ public: */ void setPixelRef(sk_sp<SkPixelRef>, int dx, int dy); -#ifdef SK_SUPPORT_OBSOLETE_LOCKPIXELS - void lockPixels() const {} - void unlockPixels() const {} - bool requestLock(SkAutoPixmapUnlock* result) const; -#endif - /** Call this to be sure that the bitmap is valid enough to be drawn (i.e. it has non-null pixels, and if required by its colortype, it has a non-null colortable. Returns true if all of the above are met. @@ -756,13 +750,6 @@ private: friend class SkBinaryWriteBuffer; // rawpixels }; -#ifdef SK_SUPPORT_OBSOLETE_LOCKPIXELS -class SkAutoLockPixels : SkNoncopyable { -public: - SkAutoLockPixels(const SkBitmap&, bool = true) {} -}; -#endif - /////////////////////////////////////////////////////////////////////////////// inline uint32_t* SkBitmap::getAddr32(int x, int y) const { |