mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Temporarily landing patches for bug 130078. Will be backed out when it lands for real.
This commit is contained in:
parent
444f617901
commit
ee8930467d
@ -2388,9 +2388,7 @@ DocumentViewerImpl::FindContainerView()
|
||||
{
|
||||
nsIView* containerView = nsnull;
|
||||
|
||||
if (mParentWidget) {
|
||||
containerView = nsIView::GetViewFor(mParentWidget);
|
||||
} else if (mContainer) {
|
||||
if (mContainer) {
|
||||
nsCOMPtr<nsIDocShellTreeItem> docShellItem = do_QueryReferent(mContainer);
|
||||
nsCOMPtr<nsPIDOMWindow> pwin(do_GetInterface(docShellItem));
|
||||
if (pwin) {
|
||||
|
Loading…
Reference in New Issue
Block a user