diff options
author | Moonchild <moonchild@palemoon.org> | 2020-09-17 23:48:58 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-09-17 23:48:58 +0000 |
commit | 6be15b96ae4a9f0a73aaea794602201ddf0c4242 (patch) | |
tree | a0bfe1e4c95ea2f6a1c0e551b346a5d178ba7dc0 /dom/bindings/DOMJSClass.h | |
parent | a0cdf328774e553eec1df9276604362d7a3679cd (diff) | |
download | UXP-6be15b96ae4a9f0a73aaea794602201ddf0c4242.tar UXP-6be15b96ae4a9f0a73aaea794602201ddf0c4242.tar.gz UXP-6be15b96ae4a9f0a73aaea794602201ddf0c4242.tar.lz UXP-6be15b96ae4a9f0a73aaea794602201ddf0c4242.tar.xz UXP-6be15b96ae4a9f0a73aaea794602201ddf0c4242.zip |
Issue #1224 - Remove constant expressions from /dom
This excludes DOMProxy handlers in dom bindings because that's intertwined with
codegen and js that needs to be handled together.
Diffstat (limited to 'dom/bindings/DOMJSClass.h')
-rw-r--r-- | dom/bindings/DOMJSClass.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/bindings/DOMJSClass.h b/dom/bindings/DOMJSClass.h index 6e779840f..c97cf9322 100644 --- a/dom/bindings/DOMJSClass.h +++ b/dom/bindings/DOMJSClass.h @@ -210,7 +210,7 @@ struct NativePropertiesN { const int32_t iteratorAliasMethodIndex; - constexpr const NativePropertiesN<7>* Upcast() const { + const NativePropertiesN<7>* Upcast() const { return reinterpret_cast<const NativePropertiesN<7>*>(this); } |