$OpenBSD$ index 74038df..40cde23 100644 --- gfx/thebes/gfxUserFontSet.h.orig Fri Feb 20 15:40:37 2015 +++ gfx/thebes/gfxUserFontSet.h Fri Feb 20 15:40:37 2015 @@ -7,6 +7,7 @@ #define GFX_USER_FONT_SET_H #include "gfxFont.h" +#include "nsPresContext.h" #include "nsRefPtrHashtable.h" #include "nsAutoPtr.h" #include "nsCOMPtr.h" @@ -245,6 +246,8 @@ public: // rebuild if local rules have been used void RebuildLocalRules(); + virtual nsPresContext *GetPresContext() { return NULL; } + class UserFontCache { public: // Record a loaded user-font in the cache. This requires that the