Bug 405241 - "Don't register nsDownloadHistory if it's not needed" [p=comrade693+bmo@gmail.com (Shawn Wilsher [sdwilsh]) r=biesi sr=bzbarsky a1.9=damons]

This commit is contained in:
2007-11-30 23:18:43 -08:00
parent ecc0549d64
commit ff4bdad1a6
3 changed files with 42 additions and 1 deletions

View File

@@ -250,7 +250,8 @@ static const nsModuleComponentInfo gDocShellModuleInfo[] = {
// download history
{ "nsDownloadHistory", NS_DOWNLOADHISTORY_CID,
NS_DOWNLOADHISTORY_CONTRACTID, nsDownloadHistoryConstructor }
nsnull, nsDownloadHistoryConstructor,
nsDownloadHistory::RegisterSelf }
};
// "docshell provider" to illustrate that this thing really *should*