summaryrefslogtreecommitdiffstats
path: root/gfx/layers/CanvasDrawEventRecorder.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/layers/CanvasDrawEventRecorder.h')
-rw-r--r--gfx/layers/CanvasDrawEventRecorder.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gfx/layers/CanvasDrawEventRecorder.h b/gfx/layers/CanvasDrawEventRecorder.h
index c9eacf27ac..aa95eec3e6 100644
--- a/gfx/layers/CanvasDrawEventRecorder.h
+++ b/gfx/layers/CanvasDrawEventRecorder.h
@@ -111,6 +111,9 @@ class CanvasDrawEventRecorder final : public gfx::DrawEventRecorderPrivate,
void StoreSourceSurfaceRecording(gfx::SourceSurface* aSurface,
const char* aReason) final;
+ void StoreImageRecording(const RefPtr<Image>& aImageOfSurfaceDescriptor,
+ const char* aReasony) final;
+
gfx::RecorderType GetRecorderType() const override {
return gfx::RecorderType::CANVAS;
}
@@ -134,6 +137,8 @@ class CanvasDrawEventRecorder final : public gfx::DrawEventRecorderPrivate,
void ClearProcessedExternalSurfaces();
+ void ClearProcessedExternalImages();
+
protected:
gfx::ContiguousBuffer& GetContiguousBuffer(size_t aSize) final;