Bug 1051842 - Backout 90ca7355bbcc (bug 1051842) due to bug 1122208

This commit is contained in:
Bill McCloskey 2015-01-20 14:02:52 -08:00
parent 1eb15d0af4
commit 39a211f1f8
2 changed files with 0 additions and 4 deletions

View File

@ -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);

View File

@ -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: