diff --git a/xpfe/AppCores/src/nsBrowserAppCore.cpp b/xpfe/AppCores/src/nsBrowserAppCore.cpp index 269016628dc..ab389c97f8b 100644 --- a/xpfe/AppCores/src/nsBrowserAppCore.cpp +++ b/xpfe/AppCores/src/nsBrowserAppCore.cpp @@ -390,7 +390,9 @@ nsBrowserAppCore::WalletSafeFillin() shell = nsnull; nsCOMPtr webcontent; mWebShell->FindChildWithName(nsAutoString("content"), *getter_AddRefs(webcontent)); - shell = GetPresShellFor(webcontent); + nsCOMPtr webcontent2; + webcontent->ChildAt(1, (nsIWebShell*&)webcontent2); + shell = GetPresShellFor(webcontent2); nsIWalletService *walletservice; nsresult res;