Changeset 28880 in webkit


Ignore:
Timestamp:
Dec 19, 2007 7:03:43 PM (16 years ago)
Author:
alp@webkit.org
Message:

2007-12-19 Sven Herzberg <sven@imendio.com>

Reviewed by Alp Toker.

Scaled font destruction takes place in FontData::platformDestroy(). No
need to do it in FontPlatformData::~FontPlatformData().

Destroying platform data in platformDestroy() is a convention we
borrow from the Mac and Win ports.

  • platform/graphics/gtk/FontPlatformDataGtk.cpp:
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r28879 r28880  
     12007-12-19  Sven Herzberg  <sven@imendio.com>
     2
     3        Reviewed by Alp Toker.
     4
     5        Scaled font destruction takes place in FontData::platformDestroy(). No
     6        need to do it in FontPlatformData::~FontPlatformData().
     7
     8        Destroying platform data in platformDestroy() is a convention we
     9        borrow from the Mac and Win ports.
     10
     11        * platform/graphics/gtk/FontPlatformDataGtk.cpp:
     12
    1132007-12-19  Alice Liu  <alice.liu@apple.com>
    214
  • trunk/WebCore/platform/graphics/gtk/FontPlatformDataGtk.cpp

    r28876 r28880  
    159159FontPlatformData::~FontPlatformData()
    160160{
    161     if (m_scaledFont)
    162         cairo_scaled_font_destroy(m_scaledFont);
     161    // Destroy takes place in FontData::platformDestroy().
    163162}
    164163
Note: See TracChangeset for help on using the changeset viewer.