Changeset 83020 in webkit


Ignore:
Timestamp:
Apr 5, 2011 10:57:43 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-04-05 Steve VanDeBogart <vandebo@chromium.org>

Reviewed by David Levin.

Update call to SkAdvancedTypefaceMetrics to new API.
https://bugs.webkit.org/show_bug.cgi?id=57887

  • platform/graphics/chromium/FontPlatformDataLinux.cpp: (WebCore::FontPlatformData::emSizeInFontUnits):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r83016 r83020  
     12011-04-05  Steve VanDeBogart  <vandebo@chromium.org>
     2
     3        Reviewed by David Levin.
     4
     5        Update call to SkAdvancedTypefaceMetrics to new API.
     6        https://bugs.webkit.org/show_bug.cgi?id=57887
     7
     8        * platform/graphics/chromium/FontPlatformDataLinux.cpp:
     9        (WebCore::FontPlatformData::emSizeInFontUnits):
     10
    1112011-04-05  Alexey Proskuryakov  <ap@apple.com>
    212
  • trunk/Source/WebCore/platform/graphics/chromium/FontPlatformDataLinux.cpp

    r80654 r83020  
    123123        return m_emSizeInFontUnits;
    124124
    125     SkAdvancedTypefaceMetrics* metrics = m_typeface->getAdvancedTypefaceMetrics(false);
     125    SkAdvancedTypefaceMetrics* metrics = m_typeface->getAdvancedTypefaceMetrics(SkAdvancedTypefaceMetrics::kNo_PerGlyphInfo);
    126126    m_emSizeInFontUnits = metrics->fEmSize;
    127127    metrics->unref();
Note: See TracChangeset for help on using the changeset viewer.