⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 98774 in webkit


Ignore:
Timestamp:
Oct 28, 2011, 4:06:00 PM (15 years ago)
Author:
mitz@apple.com
Message:

Attempted build fix after r98765.

  • platform/graphics/mac/SimpleFontDataMac.mm:

(WebCore::SimpleFontData::platformWidthForGlyph):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r98773 r98774  
     12011-10-28  Dan Bernstein  <mitz@apple.com>
     2
     3        Attempted build fix after r98765.
     4
     5        * platform/graphics/mac/SimpleFontDataMac.mm:
     6        (WebCore::SimpleFontData::platformWidthForGlyph):
     7
    182011-10-28  Chris Marrin  <cmarrin@apple.com>
    29
  • trunk/Source/WebCore/platform/graphics/mac/SimpleFontDataMac.mm

    r98765 r98774  
    403403        NSFont *font = platformData().font();
    404404        if (font && platformData().isColorBitmapFont())
    405             advance = [font advancementForGlyph:glyph];
     405            advance = NSSizeToCGSize([font advancementForGlyph:glyph]);
    406406        else {
    407407            float pointSize = platformData().m_size;
Note: See TracChangeset for help on using the changeset viewer.