Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -89,14 +89,14 @@ pres_shell(nsIDocShell *aDocShell)
|
||||
}
|
||||
|
||||
#if 0 // not currently needed
|
||||
static already_AddRefed<nsIPresContext>
|
||||
static already_AddRefed<nsPresContext>
|
||||
pres_context(nsIDocShell *aDocShell)
|
||||
{
|
||||
nsCOMPtr<nsIDocumentViewer> dv =
|
||||
do_QueryInterface(nsCOMPtr<nsIContentViewer>(doc_viewer(aDocShell)));
|
||||
if (!dv)
|
||||
return nsnull;
|
||||
nsIPresContext *result = nsnull;
|
||||
nsPresContext *result = nsnull;
|
||||
dv->GetPresContext(result);
|
||||
return result;
|
||||
}
|
||||
@@ -429,7 +429,7 @@ DumpFramesRecur(nsIDocShell* aDocShell, FILE* out)
|
||||
nsIFrame* root;
|
||||
shell->GetRootFrame(&root);
|
||||
if (root) {
|
||||
nsCOMPtr<nsIPresContext> presContext;
|
||||
nsCOMPtr<nsPresContext> presContext;
|
||||
shell->GetPresContext(getter_AddRefs(presContext));
|
||||
|
||||
nsIFrameDebug* fdbg;
|
||||
|
||||
Reference in New Issue
Block a user