aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/image/SkSurface_Base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/image/SkSurface_Base.h')
-rw-r--r--src/image/SkSurface_Base.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/image/SkSurface_Base.h b/src/image/SkSurface_Base.h
index cce3dc0a88..56a09cf5e6 100644
--- a/src/image/SkSurface_Base.h
+++ b/src/image/SkSurface_Base.h
@@ -45,6 +45,8 @@ public:
*/
virtual sk_sp<SkImage> onNewImageSnapshot() = 0;
+ virtual void onWritePixels(const SkPixmap&, int x, int y) = 0;
+
/**
* Default implementation:
*