author | Jeff Gilbert <jgilbert@mozilla.com> |
Tue, 12 Sep 2017 15:53:16 -0700 | |
changeset 380754 | b2a36230e1936ff5e6554e3809274fa87e4297b1 |
parent 380753 | 4198b9d273b9db50b5ffe4cdd078da073d8483db |
child 380755 | 50e7fe6b995e6f0d4906ea40415a9f6503a00bfe |
push id | 94975 |
push user | jgilbert@mozilla.com |
push date | Thu, 14 Sep 2017 00:57:22 +0000 |
treeherder | mozilla-inbound@b2a36230e193 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | nwgh |
bugs | 1399280 |
milestone | 57.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/netwerk/protocol/http/Http2Compression.cpp +++ b/netwerk/protocol/http/Http2Compression.cpp @@ -204,18 +204,18 @@ nvFIFO::nvFIFO() nvFIFO::~nvFIFO() { Clear(); } void nvFIFO::AddElement(const nsCString &name, const nsCString &value) { - mByteCount += name.Length() + value.Length() + 32; nvPair *pair = new nvPair(name, value); + mByteCount += pair->Size(); mTable.PushFront(pair); } void nvFIFO::AddElement(const nsCString &name) { AddElement(name, EmptyCString()); }