зеркало из https://github.com/mozilla/pjs.git
get wallet working again now that frame structure of apprunner has been altered (for sidebar)
This commit is contained in:
Родитель
6251815256
Коммит
0c4e3755f0
|
@ -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;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче