Changeset 86078 in webkit


Ignore:
Timestamp:
May 9, 2011 12:22:51 PM (13 years ago)
Author:
andreas.kling@nokia.com
Message:

2011-05-09 Andreas Kling <kling@webkit.org>

Reviewed by Tor Arne Vestbø.

[Qt] Remove unused FontPlatformData functions.
https://bugs.webkit.org/show_bug.cgi?id=60485

  • platform/graphics/qt/FontPlatformData.h: (WebCore::FontPlatformData::bold): Removed. (WebCore::FontPlatformData::family): Removed. (WebCore::FontPlatformData::italic): Removed. (WebCore::FontPlatformData::smallCaps): Removed.
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r86072 r86078  
     12011-05-09  Andreas Kling  <kling@webkit.org>
     2
     3        Reviewed by Tor Arne Vestbø.
     4
     5        [Qt] Remove unused FontPlatformData functions.
     6        https://bugs.webkit.org/show_bug.cgi?id=60485
     7
     8        * platform/graphics/qt/FontPlatformData.h:
     9        (WebCore::FontPlatformData::bold): Removed.
     10        (WebCore::FontPlatformData::family): Removed.
     11        (WebCore::FontPlatformData::italic): Removed.
     12        (WebCore::FontPlatformData::smallCaps): Removed.
     13
    1142011-05-09  Robin Dunn  <robin@alldunn.com>
    215
  • trunk/Source/WebCore/platform/graphics/qt/FontPlatformData.h

    r85853 r86078  
    136136        return m_data->size;
    137137    }
    138     QString family() const
    139     {
    140         Q_ASSERT(!isHashTableDeletedValue());
    141         if (!m_data)
    142             return QString();
    143         return m_data->font.family();
    144     }
    145     bool bold() const
    146     {
    147         Q_ASSERT(!isHashTableDeletedValue());
    148         if (!m_data)
    149             return false;
    150         return m_data->bold;
    151     }
    152     bool italic() const
    153     {
    154         Q_ASSERT(!isHashTableDeletedValue());
    155         if (!m_data)
    156             return false;
    157         return m_data->font.italic();
    158     }
    159     bool smallCaps() const
    160     {
    161         Q_ASSERT(!isHashTableDeletedValue());
    162         if (!m_data)
    163             return false;
    164         return m_data->font.capitalization() == QFont::SmallCaps;
    165     }
    166    
     138
    167139    FontOrientation orientation() const { return Horizontal; } // FIXME: Implement.
    168140    void setOrientation(FontOrientation) { } // FIXME: Implement.
Note: See TracChangeset for help on using the changeset viewer.