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 };