From 9a9cde8a9a67bd32a919636d72fbcb508f620093 Mon Sep 17 00:00:00 2001 From: Russell Brenner Date: Tue, 18 Jan 2011 18:00:42 -0800 Subject: Fix (or partial fix) for 3355185, crash on broken-ideograph-small-caps.html Emptied platformDestroy(). It was deleting m_smallCapsFontData, but not setting it to 0. The caller, ~SimpleFontData(), then went on to use the deleted pointer and delete it again. This was changed for other platforms with http://trac.webkit.org/changeset/71975. Change-Id: Ie67f91559479a17519db7793c7349eb013235320 --- WebCore/platform/graphics/android/FontDataAndroid.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'WebCore') diff --git a/WebCore/platform/graphics/android/FontDataAndroid.cpp b/WebCore/platform/graphics/android/FontDataAndroid.cpp index 535844e..36fb2e0 100644 --- a/WebCore/platform/graphics/android/FontDataAndroid.cpp +++ b/WebCore/platform/graphics/android/FontDataAndroid.cpp @@ -70,7 +70,6 @@ void SimpleFontData::platformCharWidthInit() void SimpleFontData::platformDestroy() { - delete m_smallCapsFontData; } SimpleFontData* SimpleFontData::smallCapsFontData(const FontDescription& fontDescription) const -- cgit v1.1