Bug 1082598 - Part 3: Fix thebes gfxPlatform shutdown for Skia. r=jrmuizel

This commit is contained in:
Lee Salzman 2015-12-17 14:45:45 -05:00
parent 351136f60e
commit 05a7f4de3d

View File

@ -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