Backed out 5 changesets (bug 1948814, bug 1948808) for causing build bustages @ gfxWindowsPlatform.cpp & imgLoader.cpp CLOSED TREE
Backed out changeset 9dad8866deac (bug 1948808) Backed out changeset 7d15850e1871 (bug 1948808) Backed out changeset 94a8ed4703ac (bug 1948808) Backed out changeset 1249b7246565 (bug 1948814) Backed out changeset 67a316ead440 (bug 1948814)
This commit is contained in:
@@ -139,21 +139,19 @@ SharedScriptCache::Observe(nsISupports* aSubject, const char* aTopic,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
void SharedScriptCache::Clear(const Maybe<bool>& aChrome,
|
||||
const Maybe<nsCOMPtr<nsIPrincipal>>& aPrincipal,
|
||||
void SharedScriptCache::Clear(const Maybe<nsCOMPtr<nsIPrincipal>>& aPrincipal,
|
||||
const Maybe<nsCString>& aSchemelessSite,
|
||||
const Maybe<OriginAttributesPattern>& aPattern) {
|
||||
using ContentParent = dom::ContentParent;
|
||||
|
||||
if (XRE_IsParentProcess()) {
|
||||
for (auto* cp : ContentParent::AllProcesses(ContentParent::eLive)) {
|
||||
Unused << cp->SendClearScriptCache(aChrome, aPrincipal, aSchemelessSite,
|
||||
aPattern);
|
||||
Unused << cp->SendClearScriptCache(aPrincipal, aSchemelessSite, aPattern);
|
||||
}
|
||||
}
|
||||
|
||||
if (sSingleton) {
|
||||
sSingleton->ClearInProcess(aChrome, aPrincipal, aSchemelessSite, aPattern);
|
||||
sSingleton->ClearInProcess(aPrincipal, aSchemelessSite, aPattern);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -91,8 +91,6 @@ class ScriptHashKey : public PLDHashEntryHdr {
|
||||
nsIPrincipal* LoaderPrincipal() const { return mLoaderPrincipal; }
|
||||
nsIPrincipal* PartitionPrincipal() const { return mPartitionPrincipal; }
|
||||
|
||||
nsIURI* URI() const { return mURI; }
|
||||
|
||||
enum { ALLOW_MEMMOVE = true };
|
||||
|
||||
protected:
|
||||
@@ -198,8 +196,7 @@ class SharedScriptCache final
|
||||
// a sheet cache (loaders that are not owned by a document).
|
||||
static void LoadCompleted(SharedScriptCache*, ScriptLoadData&);
|
||||
using Base::LoadCompleted;
|
||||
static void Clear(const Maybe<bool>& aChrome = Nothing(),
|
||||
const Maybe<nsCOMPtr<nsIPrincipal>>& aPrincipal = Nothing(),
|
||||
static void Clear(const Maybe<nsCOMPtr<nsIPrincipal>>& aPrincipal = Nothing(),
|
||||
const Maybe<nsCString>& aSchemelessSite = Nothing(),
|
||||
const Maybe<OriginAttributesPattern>& aPattern = Nothing());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user