diff --git a/dom/base/nsFocusManager.cpp b/dom/base/nsFocusManager.cpp index 410354ee2c03..fae36762677b 100644 --- a/dom/base/nsFocusManager.cpp +++ b/dom/base/nsFocusManager.cpp @@ -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")); } }