diff --git a/gfx/thebes/gfxFcPlatformFontList.cpp b/gfx/thebes/gfxFcPlatformFontList.cpp index 73cd1d6d355..bd09996ce89 100644 --- a/gfx/thebes/gfxFcPlatformFontList.cpp +++ b/gfx/thebes/gfxFcPlatformFontList.cpp @@ -17,6 +17,9 @@ #include "nsILanguageAtomService.h" #include "nsUnicodeProperties.h" #include "nsUnicodeRange.h" +#include "nsDirectoryServiceUtils.h" +#include "nsDirectoryServiceDefs.h" +#include "nsAppDirectoryServiceDefs.h" #include diff --git a/gfx/thebes/gfxFcPlatformFontList.h b/gfx/thebes/gfxFcPlatformFontList.h index b10fe38b925..c30a2f6c9a1 100644 --- a/gfx/thebes/gfxFcPlatformFontList.h +++ b/gfx/thebes/gfxFcPlatformFontList.h @@ -161,7 +161,7 @@ protected: class gfxFontconfigFontFamily : public gfxFontFamily { public: - gfxFontconfigFontFamily(const nsAString& aName) : + explicit gfxFontconfigFontFamily(const nsAString& aName) : gfxFontFamily(aName) { } void FindStyleVariations(FontInfoData *aFontInfoData = nullptr) override;