Removed some code that wasn't needed and would leak any child frames

that were passed in
This commit is contained in:
troy%netscape.com 1999-04-27 20:24:27 +00:00
Родитель 737d341483
Коммит 3f98b6da46
2 изменённых файлов: 0 добавлений и 26 удалений

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

@ -169,10 +169,6 @@ private:
class nsObjectFrame : public nsObjectFrameSuper {
public:
//~~~
NS_IMETHOD SetInitialChildList(nsIPresContext& aPresContext,
nsIAtom* aListName,
nsIFrame* aChildList);
//~~~
NS_IMETHOD Init(nsIPresContext& aPresContext,
nsIContent* aContent,
nsIFrame* aParent,
@ -282,15 +278,6 @@ nsObjectFrame::GetSkipSides() const
return 0;
}
//~~~
NS_IMETHODIMP
nsObjectFrame::SetInitialChildList(nsIPresContext& aPresContext,
nsIAtom* aListName,
nsIFrame* aChildList)
{
return NS_OK;
}
//~~~
#define IMAGE_EXT_GIF "gif"
#define IMAGE_EXT_JPG "jpg"

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

@ -169,10 +169,6 @@ private:
class nsObjectFrame : public nsObjectFrameSuper {
public:
//~~~
NS_IMETHOD SetInitialChildList(nsIPresContext& aPresContext,
nsIAtom* aListName,
nsIFrame* aChildList);
//~~~
NS_IMETHOD Init(nsIPresContext& aPresContext,
nsIContent* aContent,
nsIFrame* aParent,
@ -282,15 +278,6 @@ nsObjectFrame::GetSkipSides() const
return 0;
}
//~~~
NS_IMETHODIMP
nsObjectFrame::SetInitialChildList(nsIPresContext& aPresContext,
nsIAtom* aListName,
nsIFrame* aChildList)
{
return NS_OK;
}
//~~~
#define IMAGE_EXT_GIF "gif"
#define IMAGE_EXT_JPG "jpg"