Cheking in change that shuts down annoying warnings from addreffing and releasing nsFrameFrame (which is not refcounted). r=pavlov@netscape.com

This commit is contained in:
jst%netscape.com 2001-05-19 07:29:25 +00:00
parent d56d475aae
commit 45c009a75b
2 changed files with 4 additions and 4 deletions

View File

@ -185,8 +185,8 @@ public:
nsHTMLFrameInnerFrame();
NS_IMETHOD QueryInterface(REFNSIID aIID, void** aInstancePtr);
NS_IMETHOD_(nsrefcnt) AddRef(void) { return nsFrame::AddRef(); }
NS_IMETHOD_(nsrefcnt) Release(void) { return nsFrame::Release(); }
NS_IMETHOD_(nsrefcnt) AddRef(void) { return 2; }
NS_IMETHOD_(nsrefcnt) Release(void) { return 1; }
NS_DECL_NSIWEBPROGRESSLISTENER

View File

@ -185,8 +185,8 @@ public:
nsHTMLFrameInnerFrame();
NS_IMETHOD QueryInterface(REFNSIID aIID, void** aInstancePtr);
NS_IMETHOD_(nsrefcnt) AddRef(void) { return nsFrame::AddRef(); }
NS_IMETHOD_(nsrefcnt) Release(void) { return nsFrame::Release(); }
NS_IMETHOD_(nsrefcnt) AddRef(void) { return 2; }
NS_IMETHOD_(nsrefcnt) Release(void) { return 1; }
NS_DECL_NSIWEBPROGRESSLISTENER