webengine/osswebengine/WebCore/platform/symbian/FontDataSymbian.cpp
changeset 5 10e98eab6f85
parent 0 dd21522fd290
child 44 800203832575
equal deleted inserted replaced
1:7c90e6132015 5:10e98eab6f85
    54     m_adjustedSpaceWidth = m_spaceWidth;
    54     m_adjustedSpaceWidth = m_spaceWidth;
    55 }
    55 }
    56 
    56 
    57 void FontData::platformDestroy()
    57 void FontData::platformDestroy()
    58 {
    58 {
    59     StaticObjectsContainer::instance()->fontCache()->ReleaseFont( m_font.Font() );
    59     // Do Nothing. m_font is owned by the Font Cache 
       
    60     // and maybe shared with other FontData instances
    60 }
    61 }
    61 
    62 
    62 FontData* FontData::smallCapsFontData(const FontDescription& fontDescription) const
    63 FontData* FontData::smallCapsFontData(const FontDescription& fontDescription) const
    63 {
    64 {
    64     if (!m_smallCapsFontData) {
    65     if (!m_smallCapsFontData) {