зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1647557 - Fix toolchain bustage caused by unused variable. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D81722
This commit is contained in:
Родитель
bbe144a63b
Коммит
c47eae6143
|
@ -8,6 +8,7 @@
|
|||
#include "DocumentLoadListener.h"
|
||||
|
||||
#include "mozilla/AntiTrackingUtils.h"
|
||||
#include "mozilla/DebugOnly.h"
|
||||
#include "mozilla/LoadInfo.h"
|
||||
#include "mozilla/MozPromiseInlines.h" // For MozPromise::FromDomPromise
|
||||
#include "mozilla/StaticPrefs_extensions.h"
|
||||
|
@ -719,7 +720,8 @@ bool DocumentLoadListener::SpeculativeLoadInParent(
|
|||
nsCOMPtr<nsIRedirectChannelRegistrar> registrar =
|
||||
RedirectChannelRegistrar::GetOrCreate();
|
||||
uint64_t loadIdentifier = aLoadState->GetLoadIdentifier();
|
||||
nsresult rv = registrar->RegisterChannel(nullptr, loadIdentifier);
|
||||
DebugOnly<nsresult> rv =
|
||||
registrar->RegisterChannel(nullptr, loadIdentifier);
|
||||
MOZ_ASSERT(NS_SUCCEEDED(rv));
|
||||
// Register listener (as an nsIParentChannel) under our new identifier.
|
||||
rv = registrar->LinkChannels(loadIdentifier, listener, nullptr);
|
||||
|
|
Загрузка…
Ссылка в новой задаче