get wallet working again now that frame structure of apprunner has been altered (for sidebar)

This commit is contained in:
morse%netscape.com 1999-04-11 05:49:38 +00:00
Родитель 6251815256
Коммит 0c4e3755f0
1 изменённых файлов: 5 добавлений и 1 удалений

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

@ -409,6 +409,8 @@ nsBrowserAppCore::WalletSafeFillin()
return NS_OK; return NS_OK;
} }
#include "nsIDOMHTMLDocument.h"
static NS_DEFINE_IID(kIDOMHTMLDocumentIID, NS_IDOMHTMLDOCUMENT_IID);
NS_IMETHODIMP NS_IMETHODIMP
nsBrowserAppCore::WalletQuickFillin() nsBrowserAppCore::WalletQuickFillin()
{ {
@ -416,7 +418,9 @@ nsBrowserAppCore::WalletQuickFillin()
shell = nsnull; shell = nsnull;
nsCOMPtr<nsIWebShell> webcontent; nsCOMPtr<nsIWebShell> webcontent;
mWebShell->FindChildWithName(nsAutoString("content"), *getter_AddRefs(webcontent)); mWebShell->FindChildWithName(nsAutoString("content"), *getter_AddRefs(webcontent));
shell = GetPresShellFor(webcontent); nsCOMPtr<nsIWebShell> webcontent2;
webcontent->ChildAt(1, (nsIWebShell*&)webcontent2);
shell = GetPresShellFor(webcontent2);
nsIWalletService *walletservice; nsIWalletService *walletservice;
nsresult res; nsresult res;