Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@161072 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -429,12 +429,9 @@ DumpFramesRecur(nsIDocShell* aDocShell, FILE* out)
|
||||
nsIFrame* root;
|
||||
shell->GetRootFrame(&root);
|
||||
if (root) {
|
||||
nsCOMPtr<nsPresContext> presContext;
|
||||
shell->GetPresContext(getter_AddRefs(presContext));
|
||||
|
||||
nsIFrameDebug* fdbg;
|
||||
if (NS_SUCCEEDED(CallQueryInterface(root, &fdbg))) {
|
||||
fdbg->List(presContext, out, 0);
|
||||
fdbg->List(shell->GetPresContext(), out, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user