зеркало из https://github.com/mozilla/pjs.git
Removed a function that wasn't needed
This commit is contained in:
Родитель
ef35e08a38
Коммит
737d341483
|
@ -57,9 +57,6 @@ static NS_DEFINE_IID(kIFrameIID, NS_IFRAME_IID);
|
|||
*/
|
||||
class RootFrame : public nsHTMLContainerFrame {
|
||||
public:
|
||||
NS_IMETHOD SetInitialChildList(nsIPresContext& aPresContext,
|
||||
nsIAtom* aListName,
|
||||
nsIFrame* aChildList);
|
||||
NS_IMETHOD Reflow(nsIPresContext& aPresContext,
|
||||
nsHTMLReflowMetrics& aDesiredSize,
|
||||
const nsHTMLReflowState& aReflowState,
|
||||
|
@ -104,15 +101,6 @@ NS_NewRootFrame(nsIFrame*& aResult)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
RootFrame::SetInitialChildList(nsIPresContext& aPresContext,
|
||||
nsIAtom* aListName,
|
||||
nsIFrame* aChildList)
|
||||
{
|
||||
mFrames.SetFrames(aChildList);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
// XXX Temporary hack until we support the CSS2 'min-width', 'max-width',
|
||||
// 'min-height', and 'max-height' properties. Then we can do this in a top-down
|
||||
// fashion
|
||||
|
|
|
@ -57,9 +57,6 @@ static NS_DEFINE_IID(kIFrameIID, NS_IFRAME_IID);
|
|||
*/
|
||||
class RootFrame : public nsHTMLContainerFrame {
|
||||
public:
|
||||
NS_IMETHOD SetInitialChildList(nsIPresContext& aPresContext,
|
||||
nsIAtom* aListName,
|
||||
nsIFrame* aChildList);
|
||||
NS_IMETHOD Reflow(nsIPresContext& aPresContext,
|
||||
nsHTMLReflowMetrics& aDesiredSize,
|
||||
const nsHTMLReflowState& aReflowState,
|
||||
|
@ -104,15 +101,6 @@ NS_NewRootFrame(nsIFrame*& aResult)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
RootFrame::SetInitialChildList(nsIPresContext& aPresContext,
|
||||
nsIAtom* aListName,
|
||||
nsIFrame* aChildList)
|
||||
{
|
||||
mFrames.SetFrames(aChildList);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
// XXX Temporary hack until we support the CSS2 'min-width', 'max-width',
|
||||
// 'min-height', and 'max-height' properties. Then we can do this in a top-down
|
||||
// fashion
|
||||
|
|
Загрузка…
Ссылка в новой задаче