mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 13:07:52 +00:00
Bug 331629, @nsAutoCompleteController::ClosePopup, r=bryner
This commit is contained in:
parent
9d82b00bc4
commit
7c86de7497
@ -954,6 +954,9 @@ nsAutoCompleteController::OpenPopup()
|
||||
nsresult
|
||||
nsAutoCompleteController::ClosePopup()
|
||||
{
|
||||
if (!mInput) {
|
||||
return NS_OK;
|
||||
}
|
||||
nsCOMPtr<nsIAutoCompletePopup> popup;
|
||||
mInput->GetPopup(getter_AddRefs(popup));
|
||||
NS_ENSURE_TRUE(popup != nsnull, NS_ERROR_FAILURE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user