Bug 130078. Part 1.1. Update part 1 to deal with changes from bug 513162. r=roc

This commit is contained in:
Jim Mathies 2010-08-27 18:15:08 -05:00
Родитель ad04090e51
Коммит 92b91c9e1c
1 изменённых файлов: 1 добавлений и 3 удалений

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

@ -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) {