Bug 1706316 - Part 1: Remove nsIEmbeddingSiteWindow::setFocus; r=hsivonen

Differential Revision: https://phabricator.services.mozilla.com/D112739
This commit is contained in:
Edgar Chen
2021-05-10 20:05:12 +00:00
parent 49dd7bf038
commit 92f875c9de
6 changed files with 1 additions and 46 deletions

View File

@@ -623,13 +623,7 @@ nsDocShellTreeOwner::GetMainWidget(nsIWidget** aMainWidget) {
}
NS_IMETHODIMP
nsDocShellTreeOwner::SetFocus() {
nsCOMPtr<nsIEmbeddingSiteWindow> ownerWin = GetOwnerWin();
if (ownerWin) {
return ownerWin->SetFocus();
}
return NS_ERROR_NULL_POINTER;
}
nsDocShellTreeOwner::SetFocus() { return NS_ERROR_NULL_POINTER; }
NS_IMETHODIMP
nsDocShellTreeOwner::GetTitle(nsAString& aTitle) {