зеркало из https://github.com/mozilla/gecko-dev.git
Bug 339470, [@ nsIMEStateManager::IsActive], p=masayuki@d-toybox.com, r+sr=roc
This commit is contained in:
Родитель
d70dbf0da5
Коммит
aa30bce2f2
|
@ -188,6 +188,7 @@ nsIMEStateManager::IsActive(nsPresContext* aPresContext)
|
||||||
// This root window is not active.
|
// This root window is not active.
|
||||||
return PR_FALSE;
|
return PR_FALSE;
|
||||||
}
|
}
|
||||||
|
NS_ENSURE_TRUE(aPresContext->GetPresShell(), PR_FALSE);
|
||||||
nsIViewManager* vm = aPresContext->GetViewManager();
|
nsIViewManager* vm = aPresContext->GetViewManager();
|
||||||
NS_ENSURE_TRUE(vm, PR_FALSE);
|
NS_ENSURE_TRUE(vm, PR_FALSE);
|
||||||
nsCOMPtr<nsIViewObserver> observer;
|
nsCOMPtr<nsIViewObserver> observer;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче