Bug 1151136 - Always initialize the aSeqno result from TabParent::RecvNotifyIMEFocus. r=masayuki

--HG--
extra : transplant_source : %7B%ECS%BB%BC%E0%EEI%8B%09%40%DFXe%B7E%20%CDv%5C
This commit is contained in:
L. David Baron 2015-04-03 18:59:42 -07:00
Родитель 6f05b444be
Коммит 3c1e8c3ed8
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -1579,13 +1579,14 @@ TabParent::RecvNotifyIMEFocus(const bool& aFocus,
nsIMEUpdatePreference* aPreference,
uint32_t* aSeqno)
{
*aSeqno = mIMESeqno;
nsCOMPtr<nsIWidget> widget = GetWidget();
if (!widget) {
*aPreference = nsIMEUpdatePreference();
return true;
}
*aSeqno = mIMESeqno;
mIMETabParent = aFocus ? this : nullptr;
mIMESelectionAnchor = 0;
mIMESelectionFocus = 0;