summaryrefslogtreecommitdiffstats
path: root/dom/fetch/InternalHeaders.h
diff options
context:
space:
mode:
authorJustOff <Off.Just.Off@gmail.com>2019-03-13 20:04:13 +0200
committerJustOff <Off.Just.Off@gmail.com>2019-03-13 20:04:13 +0200
commitb586a191ec085d2c6c5c4fdfb1b12102fb5de4c4 (patch)
tree8271d2b8f78dd3518f23fb93fc971489fe14e67b /dom/fetch/InternalHeaders.h
parent5890367d30702ff8f2fbb6fc28e6ecdd6d5b2b84 (diff)
downloadUXP-b586a191ec085d2c6c5c4fdfb1b12102fb5de4c4.tar
UXP-b586a191ec085d2c6c5c4fdfb1b12102fb5de4c4.tar.gz
UXP-b586a191ec085d2c6c5c4fdfb1b12102fb5de4c4.tar.lz
UXP-b586a191ec085d2c6c5c4fdfb1b12102fb5de4c4.tar.xz
UXP-b586a191ec085d2c6c5c4fdfb1b12102fb5de4c4.zip
Rename the MozMap C++ type to "record" and give it a template parameter for the key type
Diffstat (limited to 'dom/fetch/InternalHeaders.h')
-rw-r--r--dom/fetch/InternalHeaders.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/fetch/InternalHeaders.h b/dom/fetch/InternalHeaders.h
index 9a6d6dae7..98046f0ef 100644
--- a/dom/fetch/InternalHeaders.h
+++ b/dom/fetch/InternalHeaders.h
@@ -20,7 +20,7 @@ class ErrorResult;
namespace dom {
-template<typename T> class MozMap;
+template<typename K, typename V> class Record;
class HeadersEntry;
class InternalHeaders final
@@ -113,7 +113,7 @@ public:
void Fill(const InternalHeaders& aInit, ErrorResult& aRv);
void Fill(const Sequence<Sequence<nsCString>>& aInit, ErrorResult& aRv);
- void Fill(const MozMap<nsCString>& aInit, ErrorResult& aRv);
+ void Fill(const Record<nsCString, nsCString>& aInit, ErrorResult& aRv);
bool HasOnlySimpleHeaders() const;