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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user