Bug 1807215 - Make the intrinsic size arg in MediaDecoderOwner::Invalidate a const ref. r=padenot

Differential Revision: https://phabricator.services.mozilla.com/D174083
This commit is contained in:
Andreas Pehrson
2023-04-03 08:36:39 +00:00
parent 060d17f3a5
commit 04981fbabb
5 changed files with 7 additions and 5 deletions

View File

@@ -6339,7 +6339,7 @@ void HTMLMediaElement::NotifyDecoderPrincipalChanged() {
}
void HTMLMediaElement::Invalidate(bool aImageSizeChanged,
Maybe<nsIntSize>& aNewIntrinsicSize,
const Maybe<nsIntSize>& aNewIntrinsicSize,
bool aForceInvalidate) {
nsIFrame* frame = GetPrimaryFrame();
if (aNewIntrinsicSize) {