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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user