diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-18 22:00:45 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-18 22:00:45 +0200 |
commit | 006fbfd55552890df58261b0de506c36ec4521d4 (patch) | |
tree | 9adda894b61f0b9ca8ad355d4405548304bee4ab /dom/canvas/OffscreenCanvas.cpp | |
parent | 1bc8205ee11f371d6cb2b4f18116ae2e24206a4c (diff) | |
download | UXP-006fbfd55552890df58261b0de506c36ec4521d4.tar UXP-006fbfd55552890df58261b0de506c36ec4521d4.tar.gz UXP-006fbfd55552890df58261b0de506c36ec4521d4.tar.lz UXP-006fbfd55552890df58261b0de506c36ec4521d4.tar.xz UXP-006fbfd55552890df58261b0de506c36ec4521d4.zip |
Issue #80 - De-unify dom/canvas
Diffstat (limited to 'dom/canvas/OffscreenCanvas.cpp')
-rw-r--r-- | dom/canvas/OffscreenCanvas.cpp | 8 |
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 { |