summaryrefslogtreecommitdiffstats
path: root/dom/canvas/CanvasUtils.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-06-04 23:58:47 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-06-04 23:58:47 +0200
commitf47d45be4b6c8a1fc758d50497a964fc7a75154b (patch)
tree497657ef7d2d3dc2e2c752146a524a2c725dd26a /dom/canvas/CanvasUtils.h
parent363bfeb2c06e5f57136ebdab8da1ebeba0591520 (diff)
downloadUXP-f47d45be4b6c8a1fc758d50497a964fc7a75154b.tar
UXP-f47d45be4b6c8a1fc758d50497a964fc7a75154b.tar.gz
UXP-f47d45be4b6c8a1fc758d50497a964fc7a75154b.tar.lz
UXP-f47d45be4b6c8a1fc758d50497a964fc7a75154b.tar.xz
UXP-f47d45be4b6c8a1fc758d50497a964fc7a75154b.zip
Revert "Improve origin-clean algorithm"
This reverts commit e69b3f567c4b8957cc09ba4359e84939f77781c5.
Diffstat (limited to 'dom/canvas/CanvasUtils.h')
-rw-r--r--dom/canvas/CanvasUtils.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/dom/canvas/CanvasUtils.h b/dom/canvas/CanvasUtils.h
index 264b2b5bb..a69b8bd72 100644
--- a/dom/canvas/CanvasUtils.h
+++ b/dom/canvas/CanvasUtils.h
@@ -11,7 +11,6 @@
#include "mozilla/dom/ToJSValue.h"
#include "jsapi.h"
#include "mozilla/FloatingPoint.h"
-#include "nsLayoutUtils.h"
class nsIPrincipal;
@@ -157,10 +156,6 @@ DashArrayToJSVal(nsTArray<T>& dashes,
}
}
-// returns true if write-only mode must used for this principal based on
-// the incumbent global.
-bool CheckWriteOnlySecurity(bool aCORSUsed, nsIPrincipal* aPrincipal);
-
} // namespace CanvasUtils
} // namespace mozilla