Bustage fix. replace nsIRequest::LOAD_FROM_CACHE with

::nsIRequest::LOAD_FROM_CACHE
This commit is contained in:
bzbarsky%mit.edu 2001-09-21 03:35:49 +00:00
parent bb50d2d065
commit 2b454f80d5

View File

@ -204,7 +204,9 @@ nsViewSourceChannel::SetLoadFlags(PRUint32 aLoadFlags)
// "View source" always wants the currently cached content.
return mChannel->SetLoadFlags(aLoadFlags | nsIRequest::LOAD_FROM_CACHE);
// This should actually be just nsIRequest::LOAD_FROM_CACHE but
// the win32 compiler fails to deal... tries to do a method lookup
return mChannel->SetLoadFlags(aLoadFlags | ::nsIRequest::LOAD_FROM_CACHE);
}
#define X_VIEW_SOURCE_PARAM "; x-view-type=view-source"