summaryrefslogtreecommitdiffstats
path: root/dom/canvas/CanvasRenderingContext2D.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-03-22 13:11:18 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-03-22 13:11:18 +0100
commit8549c7cc31352e7d0cf89606d109f7c827ebab82 (patch)
tree8a02a62237cf46221de344a654e64cbf942910aa /dom/canvas/CanvasRenderingContext2D.h
parent3c02dbad946487a83783a1923463a1ebb96aae19 (diff)
downloadUXP-8549c7cc31352e7d0cf89606d109f7c827ebab82.tar
UXP-8549c7cc31352e7d0cf89606d109f7c827ebab82.tar.gz
UXP-8549c7cc31352e7d0cf89606d109f7c827ebab82.tar.lz
UXP-8549c7cc31352e7d0cf89606d109f7c827ebab82.tar.xz
UXP-8549c7cc31352e7d0cf89606d109f7c827ebab82.zip
Extend origin-clean algorithm (DiD).
Diffstat (limited to 'dom/canvas/CanvasRenderingContext2D.h')
-rw-r--r--dom/canvas/CanvasRenderingContext2D.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/dom/canvas/CanvasRenderingContext2D.h b/dom/canvas/CanvasRenderingContext2D.h
index 46758ec88..d4f295a03 100644
--- a/dom/canvas/CanvasRenderingContext2D.h
+++ b/dom/canvas/CanvasRenderingContext2D.h
@@ -1156,9 +1156,7 @@ protected:
// For the origin-clean algorithm (mWriteOnly == !origin-clean)
// See https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html
- void SetWriteOnly() {
- mWriteOnly = true;
- }
+ void SetWriteOnly();
bool IsWriteOnly() const {
return mWriteOnly;