Attempted to fix linux bustage due to necko change.

This commit is contained in:
warren%netscape.com 2000-03-29 06:42:27 +00:00
Родитель c2819cb0ba
Коммит e8f86ff0c8
1 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -498,16 +498,16 @@ GtkMozillaContainer::StartStream(const char *base_url,
if (NS_FAILED(rv))
goto error;
rv = NS_NewLoadGroup(nsnull, &mLoadGroup);
rv = NS_NewLoadGroup(&mLoadGroup, nsnull);
if (NS_FAILED(rv))
goto error;
rv = NS_NewInputStreamChannel(url, content_type,
1024/*len*/, istream,
mLoadGroup,
nsnull, // notificationCallbacks
nsIChannel::LOAD_NORMAL,
nsnull, 0, 0, &mChannel);
rv = NS_NewInputStreamChannel(&mChannel, url, istream, content_type,
1024/*len*/);
if (NS_FAILED(rv))
goto error;
rv = mChannel->SetLoadGroup(mLoadGroup);
if (NS_FAILED(rv))
goto error;