From 05a7f4de3d5c81c8b9bd02fa2510ac6824e9d96c Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Thu, 17 Dec 2015 14:45:45 -0500 Subject: [PATCH] Bug 1082598 - Part 3: Fix thebes gfxPlatform shutdown for Skia. r=jrmuizel --- gfx/thebes/gfxPlatform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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