Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan

This commit is contained in:
Birunthan Mohanathas
2014-05-22 06:48:51 +03:00
parent 9c531b5b34
commit fd86bf4972
47 changed files with 156 additions and 152 deletions

View File

@@ -419,7 +419,7 @@ WindowIsDeferredWindow(HWND hWnd)
if (appInfo) {
nsAutoCString appName;
if (NS_SUCCEEDED(appInfo->GetName(appName))) {
appName.Append("MessageWindow");
appName.AppendLiteral("MessageWindow");
nsDependentString windowName(gAppMessageWindowName);
CopyUTF8toUTF16(appName, windowName);
gAppMessageWindowNameLength = windowName.Length();