bug 378637 part 2 - change some stack nscstrings to spdystream* autocstring r=hurley

--HG--
extra : rebase_source : 9b88e9c875416576c8770e1b1f1d6de8b2402ac5
This commit is contained in:
Patrick McManus 2014-04-25 16:01:23 -04:00
parent 04b00dd294
commit e863c2d682
3 changed files with 6 additions and 6 deletions

View File

@ -290,8 +290,8 @@ Http2Stream::ParseHttpRequestHeaders(const char *buf,
*countUsed = avail - (oldLen - endHeader) + 4;
mAllHeadersSent = 1;
nsCString hostHeader;
nsCString hashkey;
nsAutoCString hostHeader;
nsAutoCString hashkey;
mTransaction->RequestHead()->GetHeader(nsHttp::Host, hostHeader);
CreatePushHashKey(NS_LITERAL_CSTRING("https"),

View File

@ -280,8 +280,8 @@ SpdyStream3::ParseHttpRequestHeaders(const char *buf,
*countUsed = avail - (oldLen - endHeader) + 4;
mSynFrameComplete = 1;
nsCString hostHeader;
nsCString hashkey;
nsAutoCString hostHeader;
nsAutoCString hashkey;
mTransaction->RequestHead()->GetHeader(nsHttp::Host, hostHeader);
CreatePushHashKey(NS_LITERAL_CSTRING("https"),

View File

@ -285,8 +285,8 @@ SpdyStream31::ParseHttpRequestHeaders(const char *buf,
*countUsed = avail - (oldLen - endHeader) + 4;
mSynFrameComplete = 1;
nsCString hostHeader;
nsCString hashkey;
nsAutoCString hostHeader;
nsAutoCString hashkey;
mTransaction->RequestHead()->GetHeader(nsHttp::Host, hostHeader);
CreatePushHashKey(NS_LITERAL_CSTRING("https"),