summaryrefslogtreecommitdiffstats
path: root/dom/canvas/OffscreenCanvasDisplayHelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/canvas/OffscreenCanvasDisplayHelper.h')
-rw-r--r--dom/canvas/OffscreenCanvasDisplayHelper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dom/canvas/OffscreenCanvasDisplayHelper.h b/dom/canvas/OffscreenCanvasDisplayHelper.h
index 502d23066a..ae6d23821c 100644
--- a/dom/canvas/OffscreenCanvasDisplayHelper.h
+++ b/dom/canvas/OffscreenCanvasDisplayHelper.h
@@ -57,6 +57,9 @@ class OffscreenCanvasDisplayHelper final {
void DestroyCanvas();
void DestroyElement();
+ bool CanElementCaptureStream() const;
+ bool UsingElementCaptureStream() const;
+
already_AddRefed<mozilla::gfx::SourceSurface> GetSurfaceSnapshot();
already_AddRefed<mozilla::layers::Image> GetAsImage();
UniquePtr<uint8_t[]> GetImageBuffer(int32_t* aOutFormat,