bug 825419 - outparamdel nsIDocShell::GetPresShell() r=smaug
This commit is contained in:
@@ -288,8 +288,7 @@ nsFormFillController::SetPopupOpen(bool aPopupOpen)
|
||||
NS_ENSURE_STATE(content);
|
||||
nsCOMPtr<nsIDocShell> docShell = GetDocShellForInput(mFocusedInput);
|
||||
NS_ENSURE_STATE(docShell);
|
||||
nsCOMPtr<nsIPresShell> presShell;
|
||||
docShell->GetPresShell(getter_AddRefs(presShell));
|
||||
nsCOMPtr<nsIPresShell> presShell = docShell->GetPresShell();
|
||||
NS_ENSURE_STATE(presShell);
|
||||
presShell->ScrollContentIntoView(content,
|
||||
nsIPresShell::ScrollAxis(
|
||||
|
||||
Reference in New Issue
Block a user