Changeset 151141 in webkit
- Timestamp:
- Jun 3, 2013 3:47:43 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r151140 r151141 1 2013-06-03 Paweł Forysiuk <tuxator@o2.pl> 2 3 [harfbuzz] WebKit fails to build with MinGW compiler because of invalid cast in HarfBuzzShaper.cpp 4 https://bugs.webkit.org/show_bug.cgi?id=108373 5 6 Reviewed by Darin Adler. 7 8 Fix building on platforms where UChar is defined as wchar_t. 9 10 11 * platform/graphics/harfbuzz/HarfBuzzShaper.cpp: 12 (WebCore::HarfBuzzShaper::shapeHarfBuzzRuns): 13 1 14 2013-06-03 Ryosuke Niwa <rniwa@webkit.org> 2 15 -
trunk/Source/WebCore/platform/graphics/harfbuzz/HarfBuzzShaper.cpp
r146855 r151141 481 481 upperText.makeUpper(); 482 482 currentFontData = m_font->glyphDataForCharacter(upperText[0], false, SmallCapsVariant).fontData; 483 hb_buffer_add_utf16(harfBuzzBuffer.get(), upperText.characters(), currentRun->numCharacters(), 0, currentRun->numCharacters());483 hb_buffer_add_utf16(harfBuzzBuffer.get(), reinterpret_cast<const uint16_t*>(upperText.characters()), currentRun->numCharacters(), 0, currentRun->numCharacters()); 484 484 } else 485 hb_buffer_add_utf16(harfBuzzBuffer.get(), m_normalizedBuffer.get() + currentRun->startIndex(), currentRun->numCharacters(), 0, currentRun->numCharacters());485 hb_buffer_add_utf16(harfBuzzBuffer.get(), reinterpret_cast<const uint16_t*>(m_normalizedBuffer.get() + currentRun->startIndex()), currentRun->numCharacters(), 0, currentRun->numCharacters()); 486 486 487 487 FontPlatformData* platformData = const_cast<FontPlatformData*>(¤tFontData->platformData());
Note: See TracChangeset
for help on using the changeset viewer.