Changeset 85731 in webkit


Ignore:
Timestamp:
May 4, 2011 4:42:51 AM (13 years ago)
Author:
andreas.kling@nokia.com
Message:

2011-05-04 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Remove unused function FontPlatformData::pixelSize()
https://bugs.webkit.org/show_bug.cgi?id=60156

  • platform/graphics/qt/FontPlatformData.h: (WebCore::FontPlatformData::pixelSize): Removed.
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r85730 r85731  
     12011-05-04  Andreas Kling  <andreas.kling@nokia.com>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [Qt] Remove unused function FontPlatformData::pixelSize()
     6        https://bugs.webkit.org/show_bug.cgi?id=60156
     7
     8        * platform/graphics/qt/FontPlatformData.h:
     9        (WebCore::FontPlatformData::pixelSize): Removed.
     10
    1112011-05-04  Luke Macpherson   <macpherson@chromium.org>
    212
  • trunk/Source/WebCore/platform/graphics/qt/FontPlatformData.h

    r80589 r85731  
    130130        return m_data->font.capitalization() == QFont::SmallCaps;
    131131    }
    132     int pixelSize() const
    133     {
    134         Q_ASSERT(!isHashTableDeletedValue());
    135         if (!m_data)
    136             return 0;
    137         // WebCore allows a font size of zero, but QFont does not.
    138         if (!m_data->size)
    139             return 0;
    140         return m_data->font.pixelSize();
    141     }
    142132   
    143133    FontOrientation orientation() const { return Horizontal; } // FIXME: Implement.
Note: See TracChangeset for help on using the changeset viewer.