From 148c78f825496b75a812d61e7d9222d897870a6c Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Fri, 2 Oct 2015 14:19:39 -0700 Subject: Don't unregister Fonts from renderer at destruction bug:24584749 Fonts are only destroyed when the renderer is destroyed, this prevents modifying the FontRenderer's LruCache while it's being iterated through in FontRenderer::~FontRenderer. Change-Id: I0e2c9f87981bfa50454ec8689df05851839e288e --- libs/hwui/FontRenderer.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'libs/hwui/FontRenderer.h') diff --git a/libs/hwui/FontRenderer.h b/libs/hwui/FontRenderer.h index 5c96c6b41c59..7e18fdf8385b 100644 --- a/libs/hwui/FontRenderer.h +++ b/libs/hwui/FontRenderer.h @@ -172,8 +172,6 @@ private: float x3, float y3, float u3, float v3, float x4, float y4, float u4, float v4, CacheTexture* texture); - void removeFont(const Font* font); - void checkTextureUpdate(); void setTextureDirty() { -- cgit v1.2.3-59-g8ed1b