зеркало из https://github.com/mozilla/pjs.git
Removed some code that wasn't needed and would leak any child frames
that were passed in
This commit is contained in:
Родитель
737d341483
Коммит
3f98b6da46
|
@ -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"
|
||||
|
|
Загрузка…
Ссылка в новой задаче