Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan

This commit is contained in:
Birunthan Mohanathas
2014-05-22 06:48:50 +03:00
parent 1da5b2d71a
commit 1ebdb921a5
61 changed files with 265 additions and 252 deletions

View File

@@ -323,7 +323,7 @@ nsThreadPoolNaming::SetThreadPoolName(const nsACString & aPoolName,
nsIThread * aThread)
{
nsCString name(aPoolName);
name.Append(NS_LITERAL_CSTRING(" #"));
name.AppendLiteral(" #");
name.AppendInt(++mCounter, 10); // The counter is declared as volatile
if (aThread) {