summaryrefslogtreecommitdiffstats
path: root/dom/canvas/OffscreenCanvas.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-04-18 22:00:45 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-24 10:33:20 +0200
commit6d3d69f644b62abdbb0e975e03d4c5be5561c1dd (patch)
tree4f1f7dbb42089e1c2ff4c158527902950e89ec53 /dom/canvas/OffscreenCanvas.cpp
parentfce3132fe8f41c85c7b3f73afdc9a48974d92c42 (diff)
downloadUXP-6d3d69f644b62abdbb0e975e03d4c5be5561c1dd.tar
UXP-6d3d69f644b62abdbb0e975e03d4c5be5561c1dd.tar.gz
UXP-6d3d69f644b62abdbb0e975e03d4c5be5561c1dd.tar.lz
UXP-6d3d69f644b62abdbb0e975e03d4c5be5561c1dd.tar.xz
UXP-6d3d69f644b62abdbb0e975e03d4c5be5561c1dd.zip
Issue #80 - De-unify dom/canvas
Diffstat (limited to 'dom/canvas/OffscreenCanvas.cpp')
-rw-r--r--dom/canvas/OffscreenCanvas.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/dom/canvas/OffscreenCanvas.cpp b/dom/canvas/OffscreenCanvas.cpp
index 0d188c24e..981faf1b1 100644
--- a/dom/canvas/OffscreenCanvas.cpp
+++ b/dom/canvas/OffscreenCanvas.cpp
@@ -6,6 +6,9 @@
#include "OffscreenCanvas.h"
+#include "mozilla/dom/File.h" // for Blob
+#include "mozilla/dom/ImageEncoder.h"
+#include "mozilla/dom/Promise.h"
#include "mozilla/dom/OffscreenCanvasBinding.h"
#include "mozilla/dom/WorkerPrivate.h"
#include "mozilla/dom/WorkerScope.h"
@@ -15,10 +18,15 @@
#include "mozilla/Telemetry.h"
#include "CanvasRenderingContext2D.h"
#include "CanvasUtils.h"
+#include "GLContext.h"
#include "GLScreenBuffer.h"
+#include "ImageBitmap.h"
#include "WebGL1Context.h"
#include "WebGL2Context.h"
+using namespace mozilla::layers;
+using namespace mozilla::dom::workers;
+
namespace mozilla {
namespace dom {