mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
Bustage fix. replace nsIRequest::LOAD_FROM_CACHE with
::nsIRequest::LOAD_FROM_CACHE
This commit is contained in:
parent
bb50d2d065
commit
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"
|
||||
|
Loading…
Reference in New Issue
Block a user