summaryrefslogtreecommitdiff
path: root/dom/canvas
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-09-07 12:47:24 +0000
committerMoonchild <moonchild@palemoon.org>2022-09-08 06:49:09 +0000
commit3d99e06afe960c529d6dd2c933a32451114f07d2 (patch)
treeb209aeda2c89417e640331a49fe6fcdb8d294509 /dom/canvas
parented2a457b0ae2b9b0b844ee2fb4335fb26446ab39 (diff)
downloaduxp-3d99e06afe960c529d6dd2c933a32451114f07d2.tar.gz
Issue #80 - Re-unify most of DOM
Diffstat (limited to 'dom/canvas')
-rw-r--r--dom/canvas/ImageBitmapColorUtils.cpp3
-rw-r--r--dom/canvas/moz.build4
2 files changed, 2 insertions, 5 deletions
diff --git a/dom/canvas/ImageBitmapColorUtils.cpp b/dom/canvas/ImageBitmapColorUtils.cpp
index 4ef4ade868..2b65c1f100 100644
--- a/dom/canvas/ImageBitmapColorUtils.cpp
+++ b/dom/canvas/ImageBitmapColorUtils.cpp
@@ -6,9 +6,6 @@
#include "ImageBitmapColorUtils.h"
-#include "js/LegacyIntTypes.h"
-#include <cmath>
-
namespace mozilla {
namespace dom {
diff --git a/dom/canvas/moz.build b/dom/canvas/moz.build
index d70f1ad1f1..20b5112cb3 100644
--- a/dom/canvas/moz.build
+++ b/dom/canvas/moz.build
@@ -41,7 +41,7 @@ EXPORTS.mozilla.dom += [
]
# Canvas 2D and common sources
-SOURCES += [
+UNIFIED_SOURCES += [
'CanvasImageCache.cpp',
'CanvasRenderingContext2D.cpp',
'CanvasRenderingContextHelper.cpp',
@@ -59,7 +59,7 @@ SOURCES += [
]
# WebGL Sources
-SOURCES += [
+UNIFIED_SOURCES += [
'TexUnpackBlob.cpp',
'WebGL1Context.cpp',
'WebGL1ContextUniforms.cpp',