Changeset 95393 in webkit


Ignore:
Timestamp:
Sep 18, 2011 10:16:05 AM (13 years ago)
Author:
mitz@apple.com
Message:

Snow Leopard build fix after r95391.

  • platform/graphics/mac/ComplexTextControllerCoreText.cpp:

(WebCore::ComplexTextController::collectComplexTextRunsForCharactersCoreText):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r95392 r95393  
     12011-09-18  Dan Bernstein  <mitz@apple.com>
     2
     3        Snow Leopard build fix after r95391.
     4
     5        * platform/graphics/mac/ComplexTextControllerCoreText.cpp:
     6        (WebCore::ComplexTextController::collectComplexTextRunsForCharactersCoreText):
     7
    182011-09-18  Dan Bernstein  <mitz@apple.com>
    29
  • trunk/Source/WebCore/platform/graphics/mac/ComplexTextControllerCoreText.cpp

    r95391 r95393  
    202202        RetainPtr<CTFontDescriptorRef> fontDescriptor(AdoptCF, CTFontDescriptorCreateWithAttributes(attributes.get()));
    203203        RetainPtr<CTFontRef> fontWithCascadeList(AdoptCF, CTFontCreateCopyWithAttributes(fontData->platformData().ctFont(), m_font.pixelSize(), 0, fontDescriptor.get()));
    204         CFDictionarySetValue((CFMutableDictionaryRef)stringAttributes.get(), kCTFontAttributeName, fontWithCascadeList.get());
     204        CFDictionarySetValue(const_cast<CFMutableDictionaryRef>(stringAttributes.get()), kCTFontAttributeName, fontWithCascadeList.get());
    205205    } else
    206206        stringAttributes = fontData->getCFStringAttributes(m_font.typesettingFeatures(), fontData->platformData().orientation());
Note: See TracChangeset for help on using the changeset viewer.