attempt to fix the SunOS build

This commit is contained in:
pierre%netscape.com 2000-08-05 06:39:42 +00:00
Родитель 0ef211cd0a
Коммит b12e49442c
3 изменённых файлов: 15 добавлений и 6 удалений

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

@ -1247,8 +1247,11 @@ CSSLoaderImpl::LoadSheet(URLKey& aKey, SheetLoadData* aData)
#else
isLocalFile = IsFileURI(urlClone);
#endif
nsLoadFlags loadAttributes = (isLocalFile ? nsIChannel::LOAD_NORMAL
: nsIChannel::FORCE_RELOAD);
nsLoadFlags loadAttributes;
if (isLocalFile)
loadAttributes = (nsLoadFlags)nsIChannel::LOAD_NORMAL;
else
loadAttributes = (nsLoadFlags)nsIChannel::FORCE_RELOAD;
result = NS_NewStreamLoader(&loader, urlClone, aData, nsnull, loadGroup,
nsnull, loadAttributes);
#ifdef NS_DEBUG

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

@ -1247,8 +1247,11 @@ CSSLoaderImpl::LoadSheet(URLKey& aKey, SheetLoadData* aData)
#else
isLocalFile = IsFileURI(urlClone);
#endif
nsLoadFlags loadAttributes = (isLocalFile ? nsIChannel::LOAD_NORMAL
: nsIChannel::FORCE_RELOAD);
nsLoadFlags loadAttributes;
if (isLocalFile)
loadAttributes = (nsLoadFlags)nsIChannel::LOAD_NORMAL;
else
loadAttributes = (nsLoadFlags)nsIChannel::FORCE_RELOAD;
result = NS_NewStreamLoader(&loader, urlClone, aData, nsnull, loadGroup,
nsnull, loadAttributes);
#ifdef NS_DEBUG

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

@ -1247,8 +1247,11 @@ CSSLoaderImpl::LoadSheet(URLKey& aKey, SheetLoadData* aData)
#else
isLocalFile = IsFileURI(urlClone);
#endif
nsLoadFlags loadAttributes = (isLocalFile ? nsIChannel::LOAD_NORMAL
: nsIChannel::FORCE_RELOAD);
nsLoadFlags loadAttributes;
if (isLocalFile)
loadAttributes = (nsLoadFlags)nsIChannel::LOAD_NORMAL;
else
loadAttributes = (nsLoadFlags)nsIChannel::FORCE_RELOAD;
result = NS_NewStreamLoader(&loader, urlClone, aData, nsnull, loadGroup,
nsnull, loadAttributes);
#ifdef NS_DEBUG