aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Matt Sarett <msarett@google.com>2017-04-04 10:18:33 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-04-05 16:01:12 +0000
commit740092ed60198022560cc8d445903aa6e7d5e3b4 (patch)
tree11a3b21ded84f40c639af56e0c082c6cd9d64655 /include
parentfa6eb915042db25b23f3a37a17d9294cb0723356 (diff)
Delete SkPixelRefFactory
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>
Diffstat (limited to 'include')
-rw-r--r--include/core/SkBitmap.h1
-rw-r--r--include/core/SkPixelRef.h11
2 files changed, 0 insertions, 12 deletions
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h
index 1a2daf0845..d14ccdaa67 100644
--- a/include/core/SkBitmap.h
+++ b/include/core/SkBitmap.h
@@ -20,7 +20,6 @@ struct SkIRect;
struct SkRect;
class SkPaint;
class SkPixelRef;
-class SkPixelRefFactory;
class SkString;
/** \class SkBitmap
diff --git a/include/core/SkPixelRef.h b/include/core/SkPixelRef.h
index 7545f3e178..e099668083 100644
--- a/include/core/SkPixelRef.h
+++ b/include/core/SkPixelRef.h
@@ -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