This commit is contained in:
troy%netscape.com 1999-07-02 22:41:42 +00:00
Родитель e13d067261
Коммит 04ed47af16
2 изменённых файлов: 0 добавлений и 4 удалений

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

@ -5415,8 +5415,6 @@ nsCSSFrameConstructor::CantRenderReplacedElement(nsIPresContext* aPresContext,
nsIFrame* newFrame = frameItems.childList;
if (NS_SUCCEEDED(rv)) {
// Delete the current frame and insert the new frame
nsCOMPtr<nsIPresShell> presShell;
aPresContext->GetShell(getter_AddRefs(presShell));
parentFrame->RemoveFrame(*aPresContext, *presShell, listName, aFrame);
if (placeholderFrame) {
// Remove the association between the old frame and its placeholder

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

@ -5415,8 +5415,6 @@ nsCSSFrameConstructor::CantRenderReplacedElement(nsIPresContext* aPresContext,
nsIFrame* newFrame = frameItems.childList;
if (NS_SUCCEEDED(rv)) {
// Delete the current frame and insert the new frame
nsCOMPtr<nsIPresShell> presShell;
aPresContext->GetShell(getter_AddRefs(presShell));
parentFrame->RemoveFrame(*aPresContext, *presShell, listName, aFrame);
if (placeholderFrame) {
// Remove the association between the old frame and its placeholder