mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1051842 - Backout 90ca7355bbcc (bug 1051842) due to bug 1122208
This commit is contained in:
parent
6ef30fb0e6
commit
da10a7f30c
@ -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