зеркало из https://github.com/mozilla/gecko-dev.git
Bug 130078. Part 1.1. Update part 1 to deal with changes from bug 513162. r=roc
This commit is contained in:
Родитель
ad04090e51
Коммит
92b91c9e1c
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче