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