Bug 1313858 - Port Bug 1310345: Change argument 1 for FindChildWithName to an NS_LITERAL_STRING. r=jorgk a=bustage-fix CLOSED TREE DONTBUILD

This commit is contained in:
Frank-Rainer Grahl 2016-10-29 08:13:00 +02:00
Родитель 69db2510c4
Коммит 165c276d6b
4 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -252,7 +252,7 @@ NS_IMETHODIMP nsMessenger::SetWindow(mozIDOMWindowProxy *aWin, nsIMsgWindow *aMs
docShellAsItem->GetSameTypeRootTreeItem(getter_AddRefs(rootDocShellAsItem));
nsCOMPtr<nsIDocShellTreeItem> 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);

Просмотреть файл

@ -237,7 +237,7 @@ nsMsgPrintEngine::SetWindow(mozIDOMWindowProxy *aWin)
docShellAsItem->GetSameTypeRootTreeItem(getter_AddRefs(rootAsItem));
nsCOMPtr<nsIDocShellTreeItem> childItem;
rootAsItem->FindChildWithName(u"content", true,
rootAsItem->FindChildWithName(NS_LITERAL_STRING("content"), true,
false, nullptr, nullptr,
getter_AddRefs(childItem));

Просмотреть файл

@ -87,7 +87,7 @@ NS_IMETHODIMP nsMsgWindow::GetMessageWindowDocShell(nsIDocShell ** aDocShell)
{
nsCOMPtr<nsIDocShellTreeItem> 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);

Просмотреть файл

@ -269,7 +269,7 @@ nsMsgComposeService::GetOrigWindowSelection(MSG_ComposeType type, nsIMsgWindow *
NS_ENSURE_SUCCESS(rv, rv);
nsCOMPtr<nsIDocShellTreeItem> 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);