attempt to fix the SunOS build

git-svn-id: svn://10.0.0.236/trunk@75643 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pierre%netscape.com
2000-08-05 06:39:42 +00:00
parent 9e1b32e935
commit 892645b8c6
3 changed files with 15 additions and 6 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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