aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/core/SkPixelRef.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/core/SkPixelRef.h b/include/core/SkPixelRef.h
index 9cad27979d..feaef8d1b8 100644
--- a/include/core/SkPixelRef.h
+++ b/include/core/SkPixelRef.h
@@ -255,6 +255,11 @@ protected:
*/
virtual size_t getAllocatedSizeInBytes() const;
+#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
+ // This is undefined if there are clients in-flight trying to use us
+ void android_only_reset(const SkImageInfo&, size_t rowBytes, sk_sp<SkColorTable>);
+#endif
+
/** Return the mutex associated with this pixelref. This value is assigned
in the constructor, and cannot change during the lifetime of the object.
*/