From 3f98b6da4613e6dd66b27b8373502965d0425322 Mon Sep 17 00:00:00 2001 From: "troy%netscape.com" Date: Tue, 27 Apr 1999 20:24:27 +0000 Subject: [PATCH] Removed some code that wasn't needed and would leak any child frames that were passed in --- layout/generic/nsObjectFrame.cpp | 13 ------------- layout/html/base/src/nsObjectFrame.cpp | 13 ------------- 2 files changed, 26 deletions(-) diff --git a/layout/generic/nsObjectFrame.cpp b/layout/generic/nsObjectFrame.cpp index 332f77333de..57368e26f62 100644 --- a/layout/generic/nsObjectFrame.cpp +++ b/layout/generic/nsObjectFrame.cpp @@ -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" diff --git a/layout/html/base/src/nsObjectFrame.cpp b/layout/html/base/src/nsObjectFrame.cpp index 332f77333de..57368e26f62 100644 --- a/layout/html/base/src/nsObjectFrame.cpp +++ b/layout/html/base/src/nsObjectFrame.cpp @@ -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"