From bf7db3cfce6ebacd29097eb02eecc89ccdf0a1bb Mon Sep 17 00:00:00 2001 From: "mjudge%netscape.com" Date: Tue, 16 May 2000 12:20:24 +0000 Subject: [PATCH] accidental checkin git-svn-id: svn://10.0.0.236/trunk@70035 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/forms/nsComboboxControlFrame.cpp | 12 ------------ .../layout/html/forms/src/nsComboboxControlFrame.cpp | 12 ------------ 2 files changed, 24 deletions(-) diff --git a/mozilla/layout/forms/nsComboboxControlFrame.cpp b/mozilla/layout/forms/nsComboboxControlFrame.cpp index a5c2c357193..76849fe393b 100644 --- a/mozilla/layout/forms/nsComboboxControlFrame.cpp +++ b/mozilla/layout/forms/nsComboboxControlFrame.cpp @@ -268,18 +268,6 @@ nsComboboxControlFrame::~nsComboboxControlFrame() NS_IF_RELEASE(mPresContext); } -NS_IMETHODIMP -nsComboboxControlFrame::Destroy(nsIPresContext* aPresContext) -{ - nsFormControlFrame::RegUnRegAccessKey(aPresContext, NS_STATIC_CAST(nsIFrame*, this), PR_FALSE); - if (mFormFrame) { - mFormFrame->RemoveFormControlFrame(*this); - mFormFrame = nsnull; - } - return nsHTMLContainerFrame::Destroy(aPresContext); -} - - //-------------------------------------------------------------- // Frames are not refcounted, no need to AddRef NS_IMETHODIMP diff --git a/mozilla/layout/html/forms/src/nsComboboxControlFrame.cpp b/mozilla/layout/html/forms/src/nsComboboxControlFrame.cpp index a5c2c357193..76849fe393b 100644 --- a/mozilla/layout/html/forms/src/nsComboboxControlFrame.cpp +++ b/mozilla/layout/html/forms/src/nsComboboxControlFrame.cpp @@ -268,18 +268,6 @@ nsComboboxControlFrame::~nsComboboxControlFrame() NS_IF_RELEASE(mPresContext); } -NS_IMETHODIMP -nsComboboxControlFrame::Destroy(nsIPresContext* aPresContext) -{ - nsFormControlFrame::RegUnRegAccessKey(aPresContext, NS_STATIC_CAST(nsIFrame*, this), PR_FALSE); - if (mFormFrame) { - mFormFrame->RemoveFormControlFrame(*this); - mFormFrame = nsnull; - } - return nsHTMLContainerFrame::Destroy(aPresContext); -} - - //-------------------------------------------------------------- // Frames are not refcounted, no need to AddRef NS_IMETHODIMP