зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1559715 r=dholbert,mstange
Differential Revision: https://phabricator.services.mozilla.com/D36874 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
c9b692824c
Коммит
8dd6475840
|
@ -247,13 +247,6 @@ bool SVGFEImageElement::OutputIsTainted(const nsTArray<bool>& aInputsAreTainted,
|
|||
return false;
|
||||
}
|
||||
|
||||
uint32_t status;
|
||||
currentRequest->GetImageStatus(&status);
|
||||
if ((status & imgIRequest::STATUS_LOAD_COMPLETE) == 0) {
|
||||
// The load has not completed yet.
|
||||
return false;
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIPrincipal> principal;
|
||||
rv = currentRequest->GetImagePrincipal(getter_AddRefs(principal));
|
||||
if (NS_FAILED(rv) || !principal) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче