Delete SkPixelRefFactory
authorMatt Sarett <msarett@google.com>
Tue, 4 Apr 2017 14:18:33 +0000 (10:18 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Wed, 5 Apr 2017 16:01:12 +0000 (16:01 +0000)
No one seems to be using this.

Bug: skia:
Change-Id: Iab0644dda2c62bd58159e0a1537138aa2e1ebcbc
Reviewed-on: https://skia-review.googlesource.com/11203
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Matt Sarett <msarett@google.com>

include/core/SkBitmap.h
include/core/SkPixelRef.h

index 1a2daf0..d14ccda 100644 (file)
@@ -20,7 +20,6 @@ struct SkIRect;
 struct SkRect;
 class SkPaint;
 class SkPixelRef;
-class SkPixelRefFactory;
 class SkString;
 
 /** \class SkBitmap
index 7545f3e..e099668 100644 (file)
@@ -342,15 +342,4 @@ private:
     typedef SkRefCnt INHERITED;
 };
 
-class SkPixelRefFactory : public SkRefCnt {
-public:
-    /**
-     *  Allocate a new pixelref matching the specified ImageInfo, allocating
-     *  the memory for the pixels. If the ImageInfo requires a ColorTable,
-     *  the pixelref will ref() the colortable.
-     *  On failure return NULL.
-     */
-    virtual SkPixelRef* create(const SkImageInfo&, size_t rowBytes, SkColorTable*) = 0;
-};
-
 #endif