mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-15 14:30:47 +00:00
Bug 1556145 - Remove a spammy warning in CanvasUtils.cpp, r=jkt
Differential Revision: https://phabricator.services.mozilla.com/D33752 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
05f11128da
commit
045158e1f4
@ -306,7 +306,7 @@ bool CheckWriteOnlySecurity(bool aCORSUsed, nsIPrincipal* aPrincipal,
|
||||
}
|
||||
|
||||
nsIGlobalObject* incumbentSettingsObject = dom::GetIncumbentGlobal();
|
||||
if (NS_WARN_IF(!incumbentSettingsObject)) {
|
||||
if (!incumbentSettingsObject) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user