commit 5d92a14bf69a5639ce05cab3805c1d51791198c2
parent 58139463755ab96d720f27356076419f30a912f0
Author: Tooru Fujisawa <arai_a@mac.com>
Date: Thu, 27 Nov 2025 14:05:46 +0000
Bug 2002776 - Use the same type between LoadedScript::{mCacheEntryId,mIsDirty} in order to pack them on windows. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D274288
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/js/loader/LoadedScript.h b/js/loader/LoadedScript.h
@@ -407,7 +407,10 @@ class LoadedScript : public nsIMemoryReporter {
// * this is cached in SharedScriptCache
// * A behavior around the network request is modified, and
// the cache needs validation on the necko side
- bool mIsDirty : 1;
+ //
+ // NOTE: In order to pack this with the mCacheEntryId above on windows,
+ // this must be uint64_t.
+ uint64_t mIsDirty : 1;
RefPtr<ScriptFetchOptions> mFetchOptions;
nsCOMPtr<nsIURI> mURI;