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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -43,12 +43,9 @@ protected:
|
||||
|
||||
void DocShell(nsDocShell* aDocShell);
|
||||
nsDocShell* DocShell();
|
||||
void GetPresContext(nsIPresContext** aPresContext);
|
||||
void SetPresContext(nsIPresContext* aPresContext);
|
||||
|
||||
protected:
|
||||
nsDocShell* mDocShell;
|
||||
nsCOMPtr<nsIPresContext> mPresContext;
|
||||
|
||||
nsIURIContentListener* mParentContentListener; // Weak Reference
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user