aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2014-08-12 09:07:08 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-08-12 09:07:08 -0700
commit78ee93f5454c93136efff5970553ac6105950247 (patch)
treeb30c3ea090050afc63b5bc23073e40ef5c2c4499 /include
parent35fbd014e3dd2b4e1813389da6dfa2d3482dfb67 (diff)
Revert of SkImage::NewFromGenerator(SkImageGenerator*), and a unit test. (https://codereview.chromium.org/465823003/)
Reason for revert: Mac bots are failing Original issue's description: > SkImage::NewFromGenerator(SkImageGenerator*), and a unit test. > > Committed: https://skia.googlesource.com/skia/+/186f7b04956a1742f185a4ca69b44b52bc50e7fc R=reed@google.com TBR=reed@google.com NOTREECHECKS=true NOTRY=true Author: halcanary@google.com Review URL: https://codereview.chromium.org/453723003
Diffstat (limited to 'include')
-rw-r--r--include/core/SkImage.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/core/SkImage.h b/include/core/SkImage.h
index 1316e2b595..581129e720 100644
--- a/include/core/SkImage.h
+++ b/include/core/SkImage.h
@@ -16,7 +16,6 @@
class SkData;
class SkCanvas;
-class SkImageGenerator;
class SkPaint;
class GrContext;
class GrTexture;
@@ -48,13 +47,6 @@ public:
*/
static SkImage* NewTexture(const SkBitmap&);
- /**
- * Construct a new SkImage based on the given ImageGenerator.
- * This function will always take ownership of the passed
- * ImageGenerator. Returns NULL on error.
- */
- static SkImage* NewFromGenerator(SkImageGenerator*);
-
int width() const { return fWidth; }
int height() const { return fHeight; }
uint32_t uniqueID() const { return fUniqueID; }