Bug 1337537 - Remove the need for TabGroup to be an nsISupports for DocShell::FindItemWithName (r=mystor)

MozReview-Commit-ID: CvnWt9Ny1IF
This commit is contained in:
Bill McCloskey
2017-02-09 13:41:51 -08:00
parent 35d8610c50
commit 55a25f3d46
7 changed files with 29 additions and 26 deletions

View File

@@ -519,8 +519,9 @@ nsWebBrowser::GetSameTypeRootTreeItem(nsIDocShellTreeItem** aRootTreeItem)
NS_IMETHODIMP
nsWebBrowser::FindItemWithName(const nsAString& aName,
nsISupports* aRequestor,
nsIDocShellTreeItem* aRequestor,
nsIDocShellTreeItem* aOriginalRequestor,
bool aSkipTabGroup,
nsIDocShellTreeItem** aResult)
{
NS_ENSURE_STATE(mDocShell);
@@ -528,8 +529,7 @@ nsWebBrowser::FindItemWithName(const nsAString& aName,
"This should always be set when in this situation");
return mDocShell->FindItemWithName(
aName, static_cast<nsIDocShellTreeOwner*>(mDocShellTreeOwner),
aOriginalRequestor, aResult);
aName, aRequestor, aOriginalRequestor, aSkipTabGroup, aResult);
}
nsIDocument*