summaryrefslogtreecommitdiffstats
path: root/dom/canvas/ImageBitmap.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/ImageBitmap.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/ImageBitmap.cpp')
-rw-r--r--dom/canvas/ImageBitmap.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/dom/canvas/ImageBitmap.cpp b/dom/canvas/ImageBitmap.cpp
index 6efe1b318..e4b145d46 100644
--- a/dom/canvas/ImageBitmap.cpp
+++ b/dom/canvas/ImageBitmap.cpp
@@ -5,19 +5,29 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "mozilla/dom/ImageBitmap.h"
+
#include "mozilla/CheckedInt.h"
+#include "mozilla/dom/File.h" // for Blob
+#include "mozilla/dom/HTMLImageElement.h"
#include "mozilla/dom/ImageBitmapBinding.h"
#include "mozilla/dom/Promise.h"
#include "mozilla/dom/StructuredCloneTags.h"
+#include "mozilla/dom/UnionTypes.h" // for ArrayBufferViewOrArrayBuffer
#include "mozilla/dom/WorkerPrivate.h"
#include "mozilla/dom/WorkerRunnable.h"
-#include "mozilla/gfx/2D.h"
+#include "CanvasRenderingContext2D.h"
+#include "gfxUtils.h"
#include "ImageBitmapColorUtils.h"
#include "ImageBitmapUtils.h"
+#include "ImageData.h"
+#include "ImageLayers.h"
#include "ImageUtils.h"
#include "imgTools.h"
#include "libyuv.h"
+#include "nsLayoutUtils.h"
+#include "OffscreenCanvas.h"
+using namespace mozilla::dom;
using namespace mozilla::gfx;
using namespace mozilla::layers;