diff --git a/netwerk/protocol/http/src/nsHTTPHeaderArray.cpp b/netwerk/protocol/http/src/nsHTTPHeaderArray.cpp index dde618debd44..b4571cfa1815 100644 --- a/netwerk/protocol/http/src/nsHTTPHeaderArray.cpp +++ b/netwerk/protocol/http/src/nsHTTPHeaderArray.cpp @@ -170,7 +170,7 @@ PRInt32 nsHTTPHeaderArray::GetEntry(nsIAtom* aHeader, nsHeaderEntry** aResult) entry = m_pHTTPHeaders->ElementAt(i); element = (nsHeaderEntry*)entry.get(); - if (aHeader == element->mAtom) { + if (aHeader == element->mAtom.get()) { *aResult = element; NS_ADDREF(*aResult); return i;