Backed out 3 changesets (bug 1578355) for build bustage at build/src/dom/base/nsSyncLoadService.h:48:21. On a CLOSED TREE
Backed out changeset d50ad759f129 (bug 1578355) Backed out changeset 339ab54ca471 (bug 1578355) Backed out changeset 284299dac42c (bug 1578355)
This commit is contained in:
@@ -33,9 +33,9 @@
|
||||
#include "mozilla/dom/BlobURLProtocolHandler.h"
|
||||
#include "mozilla/dom/File.h"
|
||||
#include "mozilla/dom/PerformanceStorage.h"
|
||||
#include "mozilla/dom/UserActivation.h"
|
||||
#include "mozilla/dom/WorkerCommon.h"
|
||||
#include "mozilla/net/NeckoChannelParams.h"
|
||||
#include "mozilla/EventStateManager.h"
|
||||
#include "mozilla/ipc/PBackgroundSharedTypes.h"
|
||||
#include "mozilla/StaticPrefs_browser.h"
|
||||
#include "mozilla/StaticPrefs_network.h"
|
||||
@@ -554,7 +554,7 @@ nsresult FetchDriver::HttpFetch(
|
||||
nsCOMPtr<nsIClassOfService> cos(do_QueryInterface(chan));
|
||||
// Mark channel as urgent-start if the Fetch is triggered by user input
|
||||
// events.
|
||||
if (cos && UserActivation::IsHandlingUserInput()) {
|
||||
if (cos && EventStateManager::IsHandlingUserInput()) {
|
||||
cos->AddClassFlags(nsIClassOfService::UrgentStart);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user