Bug 658076 nsSubDocumentFrame uses content to get docshell r=bz

This commit is contained in:
Benjamin Stover 2011-06-08 09:04:16 -07:00
Родитель eccd65ea37
Коммит 835709388d
1 изменённых файлов: 5 добавлений и 0 удалений

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

@ -718,6 +718,11 @@ nsSubDocumentFrame::AttributeChanged(PRInt32 aNameSpaceID,
return NS_OK;
}
if (mFrameLoader->GetRemoteBrowser()) {
// TODO: Implement ContentShellAdded for remote browsers (bug 658304)
return NS_OK;
}
// Note: This logic duplicates a lot of logic in
// nsFrameLoader::EnsureDocShell. We should fix that.