diff options
author | JustOff <Off.Just.Off@gmail.com> | 2019-03-13 20:04:13 +0200 |
---|---|---|
committer | JustOff <Off.Just.Off@gmail.com> | 2019-03-13 20:04:13 +0200 |
commit | b586a191ec085d2c6c5c4fdfb1b12102fb5de4c4 (patch) | |
tree | 8271d2b8f78dd3518f23fb93fc971489fe14e67b /dom/fetch/InternalHeaders.cpp | |
parent | 5890367d30702ff8f2fbb6fc28e6ecdd6d5b2b84 (diff) | |
download | UXP-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.cpp')
-rw-r--r-- | dom/fetch/InternalHeaders.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/fetch/InternalHeaders.cpp b/dom/fetch/InternalHeaders.cpp index 83a686785..7bf5703dc 100644 --- a/dom/fetch/InternalHeaders.cpp +++ b/dom/fetch/InternalHeaders.cpp @@ -314,7 +314,7 @@ InternalHeaders::Fill(const Sequence<Sequence<nsCString>>& aInit, ErrorResult& a } void -InternalHeaders::Fill(const MozMap<nsCString>& aInit, ErrorResult& aRv) +InternalHeaders::Fill(const Record<nsCString, nsCString>& aInit, ErrorResult& aRv) { for (auto& entry : aInit.Entries()) { Append(NS_ConvertUTF16toUTF8(entry.mKey), entry.mValue, aRv); |