Title: [95393] trunk/Source/WebCore
Revision
95393
Author
m...@apple.com
Date
2011-09-18 10:16:05 -0700 (Sun, 18 Sep 2011)

Log Message

Snow Leopard build fix after r95391.

* platform/graphics/mac/ComplexTextControllerCoreText.cpp:
(WebCore::ComplexTextController::collectComplexTextRunsForCharactersCoreText):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (95392 => 95393)


--- trunk/Source/WebCore/ChangeLog	2011-09-18 17:02:31 UTC (rev 95392)
+++ trunk/Source/WebCore/ChangeLog	2011-09-18 17:16:05 UTC (rev 95393)
@@ -1,5 +1,12 @@
 2011-09-18  Dan Bernstein  <m...@apple.com>
 
+        Snow Leopard build fix after r95391.
+
+        * platform/graphics/mac/ComplexTextControllerCoreText.cpp:
+        (WebCore::ComplexTextController::collectComplexTextRunsForCharactersCoreText):
+
+2011-09-18  Dan Bernstein  <m...@apple.com>
+
         Leopard build fix after r95391.
 
         * platform/graphics/mac/ComplexTextControllerATSUI.cpp:

Modified: trunk/Source/WebCore/platform/graphics/mac/ComplexTextControllerCoreText.cpp (95392 => 95393)


--- trunk/Source/WebCore/platform/graphics/mac/ComplexTextControllerCoreText.cpp	2011-09-18 17:02:31 UTC (rev 95392)
+++ trunk/Source/WebCore/platform/graphics/mac/ComplexTextControllerCoreText.cpp	2011-09-18 17:16:05 UTC (rev 95393)
@@ -201,7 +201,7 @@
         RetainPtr<CFDictionaryRef> attributes(AdoptCF, CFDictionaryCreate(kCFAllocatorDefault, attributeKeys, values, sizeof(attributeKeys) / sizeof(*attributeKeys), &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks));
         RetainPtr<CTFontDescriptorRef> fontDescriptor(AdoptCF, CTFontDescriptorCreateWithAttributes(attributes.get()));
         RetainPtr<CTFontRef> fontWithCascadeList(AdoptCF, CTFontCreateCopyWithAttributes(fontData->platformData().ctFont(), m_font.pixelSize(), 0, fontDescriptor.get()));
-        CFDictionarySetValue((CFMutableDictionaryRef)stringAttributes.get(), kCTFontAttributeName, fontWithCascadeList.get());
+        CFDictionarySetValue(const_cast<CFMutableDictionaryRef>(stringAttributes.get()), kCTFontAttributeName, fontWithCascadeList.get());
     } else
         stringAttributes = fontData->getCFStringAttributes(m_font.typesettingFeatures(), fontData->platformData().orientation());
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to