summaryrefslogtreecommitdiffstats
path: root/WebCore/platform
diff options
context:
space:
mode:
authorRussell Brenner <russellbrenner@google.com>2011-01-18 18:00:42 -0800
committerRussell Brenner <russellbrenner@google.com>2011-01-19 09:54:45 -0800
commit9a9cde8a9a67bd32a919636d72fbcb508f620093 (patch)
tree19a5512643e1059746a891ae453333262ff0fa5d /WebCore/platform
parent264c2ff307988137482953b0001c14dbc62abcc5 (diff)
downloadexternal_webkit-9a9cde8a9a67bd32a919636d72fbcb508f620093.zip
external_webkit-9a9cde8a9a67bd32a919636d72fbcb508f620093.tar.gz
external_webkit-9a9cde8a9a67bd32a919636d72fbcb508f620093.tar.bz2
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
Diffstat (limited to 'WebCore/platform')
-rw-r--r--WebCore/platform/graphics/android/FontDataAndroid.cpp1
1 files changed, 0 insertions, 1 deletions
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