зеркало из https://github.com/mozilla/gecko-dev.git
Initialized the file extension to content-type mappings to allow netlib to determine the content-type of a file based on its extension...
This commit is contained in:
Родитель
b4dc2c395e
Коммит
5d1c00cbb7
|
@ -78,6 +78,9 @@ nsNetlibService::nsNetlibService(nsINetContainerApplication *aContainerApp)
|
|||
/* Initialize netlib with 32 sockets... */
|
||||
NET_InitNetLib(0, 32);
|
||||
|
||||
/* Initialize the file extension -> content-type mappings */
|
||||
NET_InitFileFormatTypes(nsnull, nsnull);
|
||||
|
||||
mContainer = aContainerApp;
|
||||
NS_IF_ADDREF(mContainer);
|
||||
if (NULL != mContainer) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче