зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1756587
. Fix a couple of aInnerWindowId parameters to be uint64_t in ImageFactory.cpp. r=aosmond
Depends on D139370 Differential Revision: https://phabricator.services.mozilla.com/D139371
This commit is contained in:
Родитель
0549dd7bec
Коммит
45f27f573e
|
@ -103,7 +103,7 @@ static void NotifyImageLoading(nsIURI* aURI) {
|
||||||
already_AddRefed<Image> ImageFactory::CreateImage(
|
already_AddRefed<Image> ImageFactory::CreateImage(
|
||||||
nsIRequest* aRequest, ProgressTracker* aProgressTracker,
|
nsIRequest* aRequest, ProgressTracker* aProgressTracker,
|
||||||
const nsCString& aMimeType, nsIURI* aURI, bool aIsMultiPart,
|
const nsCString& aMimeType, nsIURI* aURI, bool aIsMultiPart,
|
||||||
uint32_t aInnerWindowId) {
|
uint64_t aInnerWindowId) {
|
||||||
// Compute the image's initialization flags.
|
// Compute the image's initialization flags.
|
||||||
uint32_t imageFlags = ComputeImageFlags(aURI, aMimeType, aIsMultiPart);
|
uint32_t imageFlags = ComputeImageFlags(aURI, aMimeType, aIsMultiPart);
|
||||||
|
|
||||||
|
@ -225,7 +225,7 @@ uint32_t GetContentSize(nsIRequest* aRequest) {
|
||||||
already_AddRefed<Image> ImageFactory::CreateRasterImage(
|
already_AddRefed<Image> ImageFactory::CreateRasterImage(
|
||||||
nsIRequest* aRequest, ProgressTracker* aProgressTracker,
|
nsIRequest* aRequest, ProgressTracker* aProgressTracker,
|
||||||
const nsCString& aMimeType, nsIURI* aURI, uint32_t aImageFlags,
|
const nsCString& aMimeType, nsIURI* aURI, uint32_t aImageFlags,
|
||||||
uint32_t aInnerWindowId) {
|
uint64_t aInnerWindowId) {
|
||||||
MOZ_ASSERT(aProgressTracker);
|
MOZ_ASSERT(aProgressTracker);
|
||||||
|
|
||||||
nsresult rv;
|
nsresult rv;
|
||||||
|
@ -253,7 +253,7 @@ already_AddRefed<Image> ImageFactory::CreateRasterImage(
|
||||||
already_AddRefed<Image> ImageFactory::CreateVectorImage(
|
already_AddRefed<Image> ImageFactory::CreateVectorImage(
|
||||||
nsIRequest* aRequest, ProgressTracker* aProgressTracker,
|
nsIRequest* aRequest, ProgressTracker* aProgressTracker,
|
||||||
const nsCString& aMimeType, nsIURI* aURI, uint32_t aImageFlags,
|
const nsCString& aMimeType, nsIURI* aURI, uint32_t aImageFlags,
|
||||||
uint32_t aInnerWindowId) {
|
uint64_t aInnerWindowId) {
|
||||||
MOZ_ASSERT(aProgressTracker);
|
MOZ_ASSERT(aProgressTracker);
|
||||||
|
|
||||||
nsresult rv;
|
nsresult rv;
|
||||||
|
|
|
@ -43,7 +43,7 @@ class ImageFactory {
|
||||||
ProgressTracker* aProgressTracker,
|
ProgressTracker* aProgressTracker,
|
||||||
const nsCString& aMimeType,
|
const nsCString& aMimeType,
|
||||||
nsIURI* aURI, bool aIsMultiPart,
|
nsIURI* aURI, bool aIsMultiPart,
|
||||||
uint32_t aInnerWindowId);
|
uint64_t aInnerWindowId);
|
||||||
/**
|
/**
|
||||||
* Creates a new image which isn't associated with a URI or loaded through
|
* Creates a new image which isn't associated with a URI or loaded through
|
||||||
* the usual image loading mechanism.
|
* the usual image loading mechanism.
|
||||||
|
@ -71,12 +71,12 @@ class ImageFactory {
|
||||||
static already_AddRefed<Image> CreateRasterImage(
|
static already_AddRefed<Image> CreateRasterImage(
|
||||||
nsIRequest* aRequest, ProgressTracker* aProgressTracker,
|
nsIRequest* aRequest, ProgressTracker* aProgressTracker,
|
||||||
const nsCString& aMimeType, nsIURI* aURI, uint32_t aImageFlags,
|
const nsCString& aMimeType, nsIURI* aURI, uint32_t aImageFlags,
|
||||||
uint32_t aInnerWindowId);
|
uint64_t aInnerWindowId);
|
||||||
|
|
||||||
static already_AddRefed<Image> CreateVectorImage(
|
static already_AddRefed<Image> CreateVectorImage(
|
||||||
nsIRequest* aRequest, ProgressTracker* aProgressTracker,
|
nsIRequest* aRequest, ProgressTracker* aProgressTracker,
|
||||||
const nsCString& aMimeType, nsIURI* aURI, uint32_t aImageFlags,
|
const nsCString& aMimeType, nsIURI* aURI, uint32_t aImageFlags,
|
||||||
uint32_t aInnerWindowId);
|
uint64_t aInnerWindowId);
|
||||||
|
|
||||||
// This is a static factory class, so disallow instantiation.
|
// This is a static factory class, so disallow instantiation.
|
||||||
virtual ~ImageFactory() = 0;
|
virtual ~ImageFactory() = 0;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче