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
Родитель d17618ae24
Коммит 904a6fd23e
1 изменённых файлов: 3 добавлений и 1 удалений

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

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