зеркало из https://github.com/mozilla/gecko-dev.git
Bustage fix. replace nsIRequest::LOAD_FROM_CACHE with
::nsIRequest::LOAD_FROM_CACHE
This commit is contained in:
Родитель
bb50d2d065
Коммит
2b454f80d5
|
@ -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"
|
||||
|
|
Загрузка…
Ссылка в новой задаче