summaryrefslogtreecommitdiffstats
path: root/dom/fetch/InternalHeaders.cpp
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/fetch/InternalHeaders.cpp
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/fetch/InternalHeaders.cpp')
-rw-r--r--dom/fetch/InternalHeaders.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/fetch/InternalHeaders.cpp b/dom/fetch/InternalHeaders.cpp
index 7bf5703dc..f66221d42 100644
--- a/dom/fetch/InternalHeaders.cpp
+++ b/dom/fetch/InternalHeaders.cpp
@@ -317,7 +317,7 @@ void
InternalHeaders::Fill(const Record<nsCString, nsCString>& aInit, ErrorResult& aRv)
{
for (auto& entry : aInit.Entries()) {
- Append(NS_ConvertUTF16toUTF8(entry.mKey), entry.mValue, aRv);
+ Append(entry.mKey, entry.mValue, aRv);
if (aRv.Failed()) {
return;
}