Changeset 29844 in webkit


Ignore:
Timestamp:
Jan 28, 2008 9:32:03 PM (16 years ago)
Author:
mitz@apple.com
Message:

Reviewed by Sam Weinig.

  • make isSVGFont non-virtual
  • platform/graphics/FontData.h:
  • platform/graphics/SegmentedFontData.cpp:
  • platform/graphics/SegmentedFontData.h:
  • platform/graphics/SimpleFontData.h: (WebCore::SimpleFontData::isSVGFont):
Location:
trunk/WebCore
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r29843 r29844  
     12008-01-28  Dan Bernstein  <mitz@apple.com>
     2
     3        Reviewed by Sam Weinig.
     4
     5        - make isSVGFont non-virtual
     6
     7        * platform/graphics/FontData.h:
     8        * platform/graphics/SegmentedFontData.cpp:
     9        * platform/graphics/SegmentedFontData.h:
     10        * platform/graphics/SimpleFontData.h:
     11        (WebCore::SimpleFontData::isSVGFont):
     12
    1132008-01-28  Dan Bernstein  <mitz@apple.com>
    214
  • trunk/WebCore/platform/graphics/FontData.h

    r29700 r29844  
    4040    virtual const SimpleFontData* fontDataForCharacter(UChar32) const = 0;
    4141    virtual bool containsCharacters(const UChar*, int length) const = 0;
    42     virtual bool isSVGFont() const = 0;
    4342    virtual bool isCustomFont() const = 0;
    4443    virtual bool isLoading() const = 0;
  • trunk/WebCore/platform/graphics/SegmentedFontData.cpp

    r29704 r29844  
    5656}
    5757
    58 bool SegmentedFontData::isSVGFont() const
    59 {
    60     // We don't support segmented svg fonts at the moment.
    61     return false;
    62 }
    63 
    6458bool SegmentedFontData::isCustomFont() const
    6559{
  • trunk/WebCore/platform/graphics/SegmentedFontData.h

    r29704 r29844  
    5959    virtual bool containsCharacters(const UChar*, int length) const;
    6060
    61     virtual bool isSVGFont() const;
    6261    virtual bool isCustomFont() const;
    6362    virtual bool isLoading() const;
  • trunk/WebCore/platform/graphics/SimpleFontData.h

    r29702 r29844  
    7676#if ENABLE(SVG_FONTS)
    7777    SVGFontData* svgFontData() const { return m_svgFontData.get(); }
    78     virtual bool isSVGFont() const { return m_svgFontData; }
     78    bool isSVGFont() const { return m_svgFontData; }
    7979#else
    80     virtual bool isSVGFont() const { return false; }
     80    bool isSVGFont() const { return false; }
    8181#endif
    8282
Note: See TracChangeset for help on using the changeset viewer.