fix for 147256, Crash in nsDocShell::GetRootScrollableView, r=av, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@122301 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -6148,6 +6148,7 @@ nsDocShell::GetRootScrollableView(nsIScrollableView ** aOutScrollView)
|
||||
|
||||
nsCOMPtr<nsIPresShell> shell;
|
||||
NS_ENSURE_SUCCESS(GetPresShell(getter_AddRefs(shell)), NS_ERROR_FAILURE);
|
||||
NS_ENSURE_TRUE(shell, NS_ERROR_NULL_POINTER);
|
||||
|
||||
nsCOMPtr<nsIViewManager> viewManager;
|
||||
NS_ENSURE_SUCCESS(shell->GetViewManager(getter_AddRefs(viewManager)),
|
||||
|
||||
Reference in New Issue
Block a user