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 41486cb970
commit 5a3a792f4d

View File

@ -1612,12 +1612,12 @@ 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)) {
remote->Deactivate();
LOGFOCUS(("Remote browser deactivated"));
}
if (TabParent* remote = TabParent::GetFrom(content)) {
remote->Deactivate();
LOGFOCUS(("Remote browser deactivated"));
}
}