summaryrefslogtreecommitdiffstats
path: root/dom/bindings/Record.h
diff options
context:
space:
mode:
authorJustOff <Off.Just.Off@gmail.com>2019-03-13 20:17:36 +0200
committerJustOff <Off.Just.Off@gmail.com>2019-03-13 20:17:36 +0200
commite7c9fa3e1505aeb90385e0a4e90fe5e0b137d4ab (patch)
tree62f23530cf7a928849c736a19250f5c4ddc3575d /dom/bindings/Record.h
parent66ee6fdde46bb9c246f7912fcc38d0883f66f961 (diff)
downloadUXP-e7c9fa3e1505aeb90385e0a4e90fe5e0b137d4ab.tar
UXP-e7c9fa3e1505aeb90385e0a4e90fe5e0b137d4ab.tar.gz
UXP-e7c9fa3e1505aeb90385e0a4e90fe5e0b137d4ab.tar.lz
UXP-e7c9fa3e1505aeb90385e0a4e90fe5e0b137d4ab.tar.xz
UXP-e7c9fa3e1505aeb90385e0a4e90fe5e0b137d4ab.zip
Actually change the key type of a record, and its corresponding conversion behavior, depending on what the IDL says
Diffstat (limited to 'dom/bindings/Record.h')
-rw-r--r--dom/bindings/Record.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/bindings/Record.h b/dom/bindings/Record.h
index 2fe18be2b..b7f7b01b0 100644
--- a/dom/bindings/Record.h
+++ b/dom/bindings/Record.h
@@ -47,7 +47,7 @@ template<typename KeyType, typename ValueType>
class Record
{
public:
- typedef typename binding_detail::RecordEntry<nsString, ValueType> EntryType;
+ typedef typename binding_detail::RecordEntry<KeyType, ValueType> EntryType;
typedef Record<KeyType, ValueType> SelfType;
Record()