summaryrefslogtreecommitdiffstats
path: root/dom/html/HTMLCanvasElement.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-02-14 11:46:21 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-03-23 02:12:38 +0100
commit6478daf2988b56ae73f941fd471242b7e92b2a4e (patch)
treea572c976e75590a8e5a6748ae40a56f7efdcf89d /dom/html/HTMLCanvasElement.cpp
parent181cb5210e6555102f5215316ea7a9b1771b0717 (diff)
downloadUXP-6478daf2988b56ae73f941fd471242b7e92b2a4e.tar
UXP-6478daf2988b56ae73f941fd471242b7e92b2a4e.tar.gz
UXP-6478daf2988b56ae73f941fd471242b7e92b2a4e.tar.lz
UXP-6478daf2988b56ae73f941fd471242b7e92b2a4e.tar.xz
UXP-6478daf2988b56ae73f941fd471242b7e92b2a4e.zip
Implement origin-clean algorithm for ImageBitmap.
This resolves #973.
Diffstat (limited to 'dom/html/HTMLCanvasElement.cpp')
-rw-r--r--dom/html/HTMLCanvasElement.cpp2
1 files changed, 1 insertions, 1 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;
}