summaryrefslogtreecommitdiffstats
path: root/layout/style/FontFaceSetImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'layout/style/FontFaceSetImpl.cpp')
-rw-r--r--layout/style/FontFaceSetImpl.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/layout/style/FontFaceSetImpl.cpp b/layout/style/FontFaceSetImpl.cpp
index 7383842a41..5dabf25d38 100644
--- a/layout/style/FontFaceSetImpl.cpp
+++ b/layout/style/FontFaceSetImpl.cpp
@@ -70,8 +70,7 @@ using namespace mozilla::dom;
NS_IMPL_ISUPPORTS0(FontFaceSetImpl)
FontFaceSetImpl::FontFaceSetImpl(FontFaceSet* aOwner)
- : mMutex("mozilla::dom::FontFaceSetImpl"),
- mOwner(aOwner),
+ : mOwner(aOwner),
mStatus(FontFaceSetLoadStatus::Loaded),
mNonRuleFacesDirty(false),
mHasLoadingFontFaces(false),
@@ -891,7 +890,7 @@ void FontFaceSetImpl::OnLoadingFinished() {
void FontFaceSetImpl::RefreshStandardFontLoadPrincipal() {
RecursiveMutexAutoLock lock(mMutex);
mAllowedFontLoads.Clear();
- IncrementGeneration(false);
+ IncrementGenerationLocked(false);
}
// -- gfxUserFontSet