From fe8ca33e54c12065877dde876e43134ea23ffaed Mon Sep 17 00:00:00 2001 From: "tbogard%aol.net" Date: Sat, 25 Mar 2000 03:43:58 +0000 Subject: [PATCH] Removed the Set and GetPresContext as they were not being used. git-svn-id: svn://10.0.0.236/trunk@64104 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/docshell/base/nsDSURIContentListener.cpp | 13 +------------ mozilla/docshell/base/nsDSURIContentListener.h | 3 --- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/mozilla/docshell/base/nsDSURIContentListener.cpp b/mozilla/docshell/base/nsDSURIContentListener.cpp index 2b925bc3cef..84c55a2b5f5 100644 --- a/mozilla/docshell/base/nsDSURIContentListener.cpp +++ b/mozilla/docshell/base/nsDSURIContentListener.cpp @@ -224,15 +224,4 @@ void nsDSURIContentListener::DocShell(nsDocShell* aDocShell) nsDocShell* nsDSURIContentListener::DocShell() { return mDocShell; -} - -void nsDSURIContentListener::GetPresContext(nsIPresContext** aPresContext) -{ - *aPresContext = mPresContext; - NS_IF_ADDREF(*aPresContext); -} - -void nsDSURIContentListener::SetPresContext(nsIPresContext* aPresContext) -{ - mPresContext = aPresContext; -} +} \ No newline at end of file diff --git a/mozilla/docshell/base/nsDSURIContentListener.h b/mozilla/docshell/base/nsDSURIContentListener.h index f95a360e022..e7f445580d7 100644 --- a/mozilla/docshell/base/nsDSURIContentListener.h +++ b/mozilla/docshell/base/nsDSURIContentListener.h @@ -43,12 +43,9 @@ protected: void DocShell(nsDocShell* aDocShell); nsDocShell* DocShell(); - void GetPresContext(nsIPresContext** aPresContext); - void SetPresContext(nsIPresContext* aPresContext); protected: nsDocShell* mDocShell; - nsCOMPtr mPresContext; nsIURIContentListener* mParentContentListener; // Weak Reference };