diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /parser/html/nsHtml5TreeOpExecutor.cpp | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-adbda400be353e676059e335c3c0aaf99e719475.tar.xz firefox-adbda400be353e676059e335c3c0aaf99e719475.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'parser/html/nsHtml5TreeOpExecutor.cpp')
-rw-r--r-- | parser/html/nsHtml5TreeOpExecutor.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/parser/html/nsHtml5TreeOpExecutor.cpp b/parser/html/nsHtml5TreeOpExecutor.cpp index 3cb38dcf28..f2c47c42a6 100644 --- a/parser/html/nsHtml5TreeOpExecutor.cpp +++ b/parser/html/nsHtml5TreeOpExecutor.cpp @@ -1261,7 +1261,8 @@ void nsHtml5TreeOpExecutor::PreloadStyle( void nsHtml5TreeOpExecutor::PreloadImage( const nsAString& aURL, const nsAString& aCrossOrigin, const nsAString& aMedia, const nsAString& aSrcset, const nsAString& aSizes, - const nsAString& aImageReferrerPolicy, bool aLinkPreload) { + const nsAString& aImageReferrerPolicy, bool aLinkPreload, + const nsAString& aFetchPriority) { nsCOMPtr<nsIURI> baseURI = BaseURIForPreload(); bool isImgSet = false; nsCOMPtr<nsIURI> uri = @@ -1270,7 +1271,7 @@ void nsHtml5TreeOpExecutor::PreloadImage( // use document wide referrer policy mDocument->MaybePreLoadImage(uri, aCrossOrigin, GetPreloadReferrerPolicy(aImageReferrerPolicy), - isImgSet, aLinkPreload); + isImgSet, aLinkPreload, aFetchPriority); } } |