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

--HG--
extra : rebase_source : 330ac5e429501191430b3f1c9cfc45f21957f7db
This commit is contained in:
Patrick McManus 2014-04-25 16:01:23 -04:00
parent 3016cdce0a
commit a64bcfdd0e
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"),