Index: ppapi/thunk/ppb_image_data_api.h |
diff --git a/ppapi/thunk/ppb_image_data_api.h b/ppapi/thunk/ppb_image_data_api.h |
index 32166c7ccd34277a933f63367644bbd8eb91f3d2..954630448b33b5abc849ed8b773b18754bd6989a 100644 |
--- a/ppapi/thunk/ppb_image_data_api.h |
+++ b/ppapi/thunk/ppb_image_data_api.h |
@@ -42,6 +42,11 @@ class PPB_ImageData_API { |
// * If the image is not mapped. |
// * Within untrusted code (which does not have skia). |
virtual SkCanvas* GetCanvas() = 0; |
+ |
+ // Sets whether this image was used in a ReplaceContents call. If the |
+ // current implementation supports image data recycling (only supported |
+ // out-of-process then it will be marked for potential re-use. |
+ virtual void SetUsedInReplaceContents() = 0; |
}; |
} // namespace thunk |