Bug 1296993 (part 6) - Streamline nsIWidget::SetPluginFocused. r=mstange.

This patch removes the return value, because none of the call sites check it.
This commit is contained in:
Nicholas Nethercote
2016-08-25 13:43:27 +10:00
parent 0b90da4f50
commit d28f792e7a
6 changed files with 9 additions and 12 deletions

View File

@@ -667,13 +667,12 @@ PuppetWidget::StartPluginIME(const mozilla::WidgetKeyboardEvent& aKeyboardEvent,
return NS_OK;
}
NS_IMETHODIMP
void
PuppetWidget::SetPluginFocused(bool& aFocused)
{
if (!mTabChild || !mTabChild->SendSetPluginFocused(aFocused)) {
return NS_ERROR_FAILURE;
if (mTabChild) {
mTabChild->SendSetPluginFocused(aFocused);
}
return NS_OK;
}
void