зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1556489 - P9. Make method static. r=nika,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D40966
This commit is contained in:
Родитель
e579f452c1
Коммит
c69966609c
|
@ -10405,8 +10405,8 @@ static nsresult AppendSegmentToString(nsIInputStream* aIn, void* aClosure,
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult nsDocShell::AddHeadersToChannel(nsIInputStream* aHeadersData,
|
||||
nsIChannel* aGenericChannel) {
|
||||
/* static */ nsresult nsDocShell::AddHeadersToChannel(
|
||||
nsIInputStream* aHeadersData, nsIChannel* aGenericChannel) {
|
||||
nsCOMPtr<nsIHttpChannel> httpChannel = do_QueryInterface(aGenericChannel);
|
||||
NS_ENSURE_STATE(httpChannel);
|
||||
|
||||
|
|
|
@ -630,8 +630,8 @@ class nsDocShell final : public nsDocLoader,
|
|||
nsresult DoURILoad(nsDocShellLoadState* aLoadState, bool aLoadFromExternal,
|
||||
nsIDocShell** aDocShell, nsIRequest** aRequest);
|
||||
|
||||
nsresult AddHeadersToChannel(nsIInputStream* aHeadersData,
|
||||
nsIChannel* aChannel);
|
||||
static nsresult AddHeadersToChannel(nsIInputStream* aHeadersData,
|
||||
nsIChannel* aChannel);
|
||||
|
||||
nsresult DoChannelLoad(nsIChannel* aChannel, nsIURILoader* aURILoader,
|
||||
bool aBypassClassifier);
|
||||
|
|
Загрузка…
Ссылка в новой задаче