diff --git a/docshell/base/nsWebShell.cpp b/docshell/base/nsWebShell.cpp index 6308aced31b..853c7e572d9 100644 --- a/docshell/base/nsWebShell.cpp +++ b/docshell/base/nsWebShell.cpp @@ -4071,6 +4071,13 @@ NS_IMETHODIMP nsWebShell::SetFocus() return NS_OK; } +NS_IMETHODIMP +nsWebShell::FocusAvailable(nsIBaseWindow* aCurrentFocus, PRBool* aTookFocus) +{ + NS_ENSURE_ARG_POINTER(aTookFocus); + return NS_OK; +} + NS_IMETHODIMP nsWebShell::GetTitle(PRUnichar** aTitle) { *aTitle = mTitle.ToNewUnicode(); diff --git a/webshell/src/nsWebShell.cpp b/webshell/src/nsWebShell.cpp index 6308aced31b..853c7e572d9 100644 --- a/webshell/src/nsWebShell.cpp +++ b/webshell/src/nsWebShell.cpp @@ -4071,6 +4071,13 @@ NS_IMETHODIMP nsWebShell::SetFocus() return NS_OK; } +NS_IMETHODIMP +nsWebShell::FocusAvailable(nsIBaseWindow* aCurrentFocus, PRBool* aTookFocus) +{ + NS_ENSURE_ARG_POINTER(aTookFocus); + return NS_OK; +} + NS_IMETHODIMP nsWebShell::GetTitle(PRUnichar** aTitle) { *aTitle = mTitle.ToNewUnicode();