зеркало из https://github.com/mozilla/gecko-dev.git
fix thunderbird build bustage. Patch by Ben Goodger
This commit is contained in:
Родитель
02916b3d2e
Коммит
4b2c616009
|
@ -902,10 +902,14 @@ nsNativeAppSupportWin::FindTopic( HSZ topic ) {
|
|||
// Utility function that determines if we're handling http Internet shortcuts.
|
||||
static PRBool isDefaultBrowser()
|
||||
{
|
||||
#ifdef MOZ_PHOENIX
|
||||
nsCOMPtr<nsIShellService> shell(do_GetService("@mozilla.org/browser/shell-service;1"));
|
||||
PRBool isDefault;
|
||||
shell->IsDefaultBrowser(PR_FALSE, &isDefault);
|
||||
return isDefault;
|
||||
#else
|
||||
return FALSE;
|
||||
#endif
|
||||
}
|
||||
|
||||
// Utility function to delete a registry subkey.
|
||||
|
|
Загрузка…
Ссылка в новой задаче