diff --git a/mailnews/base/src/nsMessenger.cpp b/mailnews/base/src/nsMessenger.cpp index 7da837584d..cb75d4bb08 100644 --- a/mailnews/base/src/nsMessenger.cpp +++ b/mailnews/base/src/nsMessenger.cpp @@ -252,7 +252,7 @@ NS_IMETHODIMP nsMessenger::SetWindow(mozIDOMWindowProxy *aWin, nsIMsgWindow *aMs docShellAsItem->GetSameTypeRootTreeItem(getter_AddRefs(rootDocShellAsItem)); nsCOMPtr childAsItem; - rv = rootDocShellAsItem->FindChildWithName(u"messagepane", true, false, + rv = rootDocShellAsItem->FindChildWithName(NS_LITERAL_STRING("messagepane"), true, false, nullptr, nullptr, getter_AddRefs(childAsItem)); mDocShell = do_QueryInterface(childAsItem); diff --git a/mailnews/base/src/nsMsgPrintEngine.cpp b/mailnews/base/src/nsMsgPrintEngine.cpp index d9e0bdb208..d2f8157edd 100644 --- a/mailnews/base/src/nsMsgPrintEngine.cpp +++ b/mailnews/base/src/nsMsgPrintEngine.cpp @@ -237,7 +237,7 @@ nsMsgPrintEngine::SetWindow(mozIDOMWindowProxy *aWin) docShellAsItem->GetSameTypeRootTreeItem(getter_AddRefs(rootAsItem)); nsCOMPtr childItem; - rootAsItem->FindChildWithName(u"content", true, + rootAsItem->FindChildWithName(NS_LITERAL_STRING("content"), true, false, nullptr, nullptr, getter_AddRefs(childItem)); diff --git a/mailnews/base/src/nsMsgWindow.cpp b/mailnews/base/src/nsMsgWindow.cpp index dc07db2496..b94cbc0e1f 100644 --- a/mailnews/base/src/nsMsgWindow.cpp +++ b/mailnews/base/src/nsMsgWindow.cpp @@ -87,7 +87,7 @@ NS_IMETHODIMP nsMsgWindow::GetMessageWindowDocShell(nsIDocShell ** aDocShell) { nsCOMPtr msgDocShellItem; if(rootShell) - rootShell->FindChildWithName(u"messagepane", + rootShell->FindChildWithName(NS_LITERAL_STRING("messagepane"), true, false, nullptr, nullptr, getter_AddRefs(msgDocShellItem)); NS_ENSURE_TRUE(msgDocShellItem, NS_ERROR_FAILURE); diff --git a/mailnews/compose/src/nsMsgComposeService.cpp b/mailnews/compose/src/nsMsgComposeService.cpp index 5ee48dbf51..5948e76ca1 100644 --- a/mailnews/compose/src/nsMsgComposeService.cpp +++ b/mailnews/compose/src/nsMsgComposeService.cpp @@ -269,7 +269,7 @@ nsMsgComposeService::GetOrigWindowSelection(MSG_ComposeType type, nsIMsgWindow * NS_ENSURE_SUCCESS(rv, rv); nsCOMPtr childAsItem; - rv = rootDocShell->FindChildWithName(u"messagepane", + rv = rootDocShell->FindChildWithName(NS_LITERAL_STRING("messagepane"), true, false, nullptr, nullptr, getter_AddRefs(childAsItem)); NS_ENSURE_SUCCESS(rv, rv);