Changeset 64950 in webkit


Ignore:
Timestamp:
Aug 8, 2010 9:41:58 AM (14 years ago)
Author:
mitz@apple.com
Message:

Try to fix the Chromium Mac build after r64915.

  • platform/graphics/chromium/FontPlatformDataChromiumMac.mm:

(WebCore::FontPlatformData::ctFont): Copied from mac/FontPlatformDataMac.mm.

Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r64949 r64950  
     12010-08-08  Dan Bernstein  <mitz@apple.com>
     2
     3        Try to fix the Chromium Mac build after r64915.
     4
     5        * platform/graphics/chromium/FontPlatformDataChromiumMac.mm:
     6        (WebCore::FontPlatformData::ctFont): Copied from mac/FontPlatformDataMac.mm.
     7
    182010-08-08  Dirk Schulze  <krit@webkit.org>
    29
  • trunk/WebCore/platform/graphics/chromium/FontPlatformDataChromiumMac.mm

    r62187 r64950  
    437437}
    438438
     439#if USE(CORE_TEXT)
     440CTFontRef FontPlatformData::ctFont() const
     441{
     442    if (m_font)
     443        return toCTFontRef(m_font);
     444    if (!m_CTFont)
     445        m_CTFont.adoptCF(CTFontCreateWithGraphicsFont(m_cgFont.get(), m_size, 0, 0));
     446    return m_CTFont.get();
     447}
     448#endif // USE(CORE_TEXT)
     449
    439450#ifndef NDEBUG
    440451String FontPlatformData::description() const
Note: See TracChangeset for help on using the changeset viewer.