Bug 1948808 - Fix build bustage

This commit is contained in:
Sandor Molnar
2025-02-20 13:43:28 +02:00
parent 5782d189b0
commit f4ac4c4611

View File

@@ -1376,8 +1376,8 @@ imgLoader::ClearCache(JS::Handle<JS::Value> chrome) {
return ClearCache(chrome.isBoolean() ? Some(chrome.toBoolean()) : Nothing()); return ClearCache(chrome.isBoolean() ? Some(chrome.toBoolean()) : Nothing());
} }
NS_IMETHODIMP nsresult
imgLoader::ClearCache(Maybe<bool> chrome) { imgLoader::ClearCache(mozilla::Maybe<bool> chrome) {
if (XRE_IsParentProcess()) { if (XRE_IsParentProcess()) {
bool privateLoader = this == gPrivateBrowsingLoader; bool privateLoader = this == gPrivateBrowsingLoader;
for (auto* cp : ContentParent::AllProcesses(ContentParent::eLive)) { for (auto* cp : ContentParent::AllProcesses(ContentParent::eLive)) {