Bug 1179632 part.3 TabParent::RecvEndIMEComposition() shouldn't return true with aNoCompositionEvent when there is no widget r=smaug

This commit is contained in:
Masayuki Nakano 2015-12-04 18:38:28 +09:00
parent 0e46431f4f
commit 1f19300c85

View File

@ -2327,6 +2327,7 @@ TabParent::RecvEndIMEComposition(const bool& aCancel,
{ {
nsCOMPtr<nsIWidget> widget = GetWidget(); nsCOMPtr<nsIWidget> widget = GetWidget();
if (!widget) { if (!widget) {
*aNoCompositionEvent = false;
return true; return true;
} }
*aNoCompositionEvent = *aNoCompositionEvent =