mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-04 07:40:42 +00:00
Backed out changeset 381b66eafe88 (bug 1808813) as requested for the linked regressions. CLOSED TREE
This commit is contained in:
parent
c93ab1b0e6
commit
2eb0304b97
@ -20,7 +20,6 @@
|
||||
#include "mozilla/PostTraversalTask.h"
|
||||
#include "mozilla/dom/WorkerCommon.h"
|
||||
#include "gfxOTSUtils.h"
|
||||
#include "nsFontFaceLoader.h"
|
||||
#include "nsIFontLoadCompleteCallback.h"
|
||||
#include "nsProxyRelease.h"
|
||||
#include "nsContentUtils.h"
|
||||
@ -1112,15 +1111,7 @@ void gfxUserFontSet::ForgetLocalFace(gfxUserFontFamily* aFontFamily) {
|
||||
// platform fontlist, whether or not the entry actually used a local()
|
||||
// source last time, as one might be newly available.
|
||||
if (ufe->mSeenLocalSource) {
|
||||
if (ufe->GetLoader()) {
|
||||
// If there's a loader, we need to cancel it, because we'll trigger a
|
||||
// fresh load if required when we re-resolve the font...
|
||||
ufe->GetLoader()->Cancel();
|
||||
} else {
|
||||
// ...otherwise, just reset our state so that we'll re-evaluate the
|
||||
// source list from the beginning.
|
||||
ufe->LoadCanceled();
|
||||
}
|
||||
ufe->LoadCanceled();
|
||||
}
|
||||
}
|
||||
aFontFamily->ReadUnlock();
|
||||
|
@ -56,7 +56,6 @@ EXPORTS += [
|
||||
"nsCSSValue.h",
|
||||
"nsDOMCSSAttrDeclaration.h",
|
||||
"nsDOMCSSDeclaration.h",
|
||||
"nsFontFaceLoader.h",
|
||||
"nsICSSDeclaration.h",
|
||||
"nsICSSLoaderObserver.h",
|
||||
"nsStyleAutoArray.h",
|
||||
|
Loading…
x
Reference in New Issue
Block a user