diff --git a/gfx/thebes/gfxPlatform.cpp b/gfx/thebes/gfxPlatform.cpp index 2b1bffcb1ec..20635b98ae1 100644 --- a/gfx/thebes/gfxPlatform.cpp +++ b/gfx/thebes/gfxPlatform.cpp @@ -777,7 +777,7 @@ gfxPlatform::~gfxPlatform() #ifdef USE_SKIA // must do Skia cleanup before Cairo cleanup, because Skia may be referencing // Cairo objects e.g. through SkCairoFTTypeface - SkGraphics::Term(); + SkGraphics::PurgeFontCache(); #endif #if MOZ_TREE_CAIRO