mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 1051842 - Backout 90ca7355bbcc (bug 1051842) due to bug 1122208
This commit is contained in:
parent
1eb15d0af4
commit
39a211f1f8
@ -1596,8 +1596,6 @@ nsChildView::NotifyIME(const IMENotification& aIMENotification)
|
|||||||
case NOTIFY_IME_OF_FOCUS:
|
case NOTIFY_IME_OF_FOCUS:
|
||||||
if (mInputContext.IsPasswordEditor()) {
|
if (mInputContext.IsPasswordEditor()) {
|
||||||
TextInputHandler::EnableSecureEventInput();
|
TextInputHandler::EnableSecureEventInput();
|
||||||
} else {
|
|
||||||
TextInputHandler::EnsureSecureEventInputDisabled();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_ENSURE_TRUE(mTextInputHandler, NS_ERROR_NOT_AVAILABLE);
|
NS_ENSURE_TRUE(mTextInputHandler, NS_ERROR_NOT_AVAILABLE);
|
||||||
|
@ -2118,8 +2118,6 @@ nsCocoaWindow::NotifyIME(const IMENotification& aIMENotification)
|
|||||||
case NOTIFY_IME_OF_FOCUS:
|
case NOTIFY_IME_OF_FOCUS:
|
||||||
if (mInputContext.IsPasswordEditor()) {
|
if (mInputContext.IsPasswordEditor()) {
|
||||||
TextInputHandler::EnableSecureEventInput();
|
TextInputHandler::EnableSecureEventInput();
|
||||||
} else {
|
|
||||||
TextInputHandler::EnsureSecureEventInputDisabled();
|
|
||||||
}
|
}
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
case NOTIFY_IME_OF_BLUR:
|
case NOTIFY_IME_OF_BLUR:
|
||||||
|
Loading…
Reference in New Issue
Block a user