aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/image/SkImage_Base.h
diff options
context:
space:
mode:
authorGravatar Matt Sarett <msarett@google.com>2017-03-08 15:26:29 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-08 22:17:33 +0000
commitf141fff87abdc68d1a5adba6ea77d1885952ca5b (patch)
tree7e1a8e087b1d3b9111f2349a82589fd8d15dde73 /src/image/SkImage_Base.h
parent8310f0e051e5cb19206428336720bd9988190416 (diff)
Add SkImage_Base::onMakeColorSpace() stub
BUG=skia: Change-Id: I103ea172a4874bc2a9f644caa406da7afe94aa1c Reviewed-on: https://skia-review.googlesource.com/9451 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Matt Sarett <msarett@google.com>
Diffstat (limited to 'src/image/SkImage_Base.h')
-rw-r--r--src/image/SkImage_Base.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/image/SkImage_Base.h b/src/image/SkImage_Base.h
index 42493b2351..8049194af4 100644
--- a/src/image/SkImage_Base.h
+++ b/src/image/SkImage_Base.h
@@ -75,6 +75,11 @@ public:
fAddedToCache.store(true);
}
+ virtual sk_sp<SkImage> onMakeColorSpace(sk_sp<SkColorSpace>) {
+ // TODO: Implement this.
+ return sk_ref_sp(this);
+ }
+
virtual bool onPinAsTexture(GrContext*) const { return false; }
virtual void onUnpinAsTexture(GrContext*) const {}