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 6d1d43b9e1
commit 1478cd1889

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