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]

git-svn-id: svn://10.0.0.236/trunk@240202 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
reed%reedloden.com
2007-12-01 07:18:43 +00:00
parent 6470c0b356
commit 9c26bd6c04
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*