Bug 1067993, TabParent's Deactivate isn't called when window is lowered, r=smaug

This commit is contained in:
Neil Deakin 2014-09-19 16:44:08 -04:00
parent d8ffb7f559
commit fafddde230

View File

@ -1612,6 +1612,7 @@ nsFocusManager::Blur(nsPIDOMWindow* aWindowToClear,
widget->SetFocus(false);
}
}
}
// if the object being blurred is a remote browser, deactivate remote content
if (TabParent* remote = TabParent::GetFrom(content)) {
@ -1619,7 +1620,6 @@ nsFocusManager::Blur(nsPIDOMWindow* aWindowToClear,
LOGFOCUS(("Remote browser deactivated"));
}
}
}
bool result = true;
if (sendBlurEvent) {