diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-02-14 11:46:21 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-02-14 11:46:21 +0100 |
commit | 91799767e1c575dce6cdb1528f1f10a1fd62e35f (patch) | |
tree | 48d925ea0d3123ef18d8a810724b3cdf7ad3b734 /dom/html | |
parent | 0e80d10f4a10496a6657df210ff45a89fba68a75 (diff) | |
download | UXP-91799767e1c575dce6cdb1528f1f10a1fd62e35f.tar UXP-91799767e1c575dce6cdb1528f1f10a1fd62e35f.tar.gz UXP-91799767e1c575dce6cdb1528f1f10a1fd62e35f.tar.lz UXP-91799767e1c575dce6cdb1528f1f10a1fd62e35f.tar.xz UXP-91799767e1c575dce6cdb1528f1f10a1fd62e35f.zip |
Implement origin-clean algorithm for ImageBitmap.
This resolves #973.
Diffstat (limited to 'dom/html')
-rw-r--r-- | dom/html/HTMLCanvasElement.cpp | 2 | ||||
-rw-r--r-- | dom/html/HTMLCanvasElement.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/dom/html/HTMLCanvasElement.cpp b/dom/html/HTMLCanvasElement.cpp index 527135a80..a01795d9e 100644 --- a/dom/html/HTMLCanvasElement.cpp +++ b/dom/html/HTMLCanvasElement.cpp @@ -1000,7 +1000,7 @@ HTMLCanvasElement::GetSize() } bool -HTMLCanvasElement::IsWriteOnly() +HTMLCanvasElement::IsWriteOnly() const { return mWriteOnly; } diff --git a/dom/html/HTMLCanvasElement.h b/dom/html/HTMLCanvasElement.h index 746fab198..e77db6ff1 100644 --- a/dom/html/HTMLCanvasElement.h +++ b/dom/html/HTMLCanvasElement.h @@ -224,9 +224,9 @@ public: nsIntSize GetSize(); /** - * Determine whether the canvas is write-only. + * Determine whether the canvas is write-only (tainted). */ - bool IsWriteOnly(); + bool IsWriteOnly() const; /** * Force the canvas to be write-only. |