diff options
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 { |