diff options
author | JustOff <Off.Just.Off@gmail.com> | 2019-03-13 20:17:36 +0200 |
---|---|---|
committer | JustOff <Off.Just.Off@gmail.com> | 2019-03-13 20:17:36 +0200 |
commit | e7c9fa3e1505aeb90385e0a4e90fe5e0b137d4ab (patch) | |
tree | 62f23530cf7a928849c736a19250f5c4ddc3575d /dom/fetch | |
parent | 66ee6fdde46bb9c246f7912fcc38d0883f66f961 (diff) | |
download | UXP-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')
-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 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; } |