Changeset 236985 in webkit
- Timestamp:
- Oct 9, 2018, 2:59:12 PM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/harfbuzz/ComplexTextControllerHarfBuzz.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r236983 r236985 1 2018-10-09 Michael Catanzaro <mcatanzaro@igalia.com> 2 3 [WPE][GTK] Complex text crashes with harfbuzz 1.8.8 4 https://bugs.webkit.org/show_bug.cgi?id=190409 5 6 Reviewed by Žan Doberšek. 7 8 We discovered that harfbuzz 1.8.8 breaks WebKit by changing the ownership semantics of 9 hb_icu_get_unicode_funcs() from (transfer full) to (transfer none). Our code was actually 10 expecting (transfer none), so it's not immediately clear to me why it's crashing now, but 11 doesn't matter as Behdad recommends removing this line of code because it hasn't been 12 been needed for many years. 13 14 This should be covered by all our complex text tests if the bots were upgraded to the newer 15 harfbuzz. 16 17 * platform/graphics/harfbuzz/ComplexTextControllerHarfBuzz.cpp: 18 (WebCore::ComplexTextController::collectComplexTextRunsForCharacters): 19 1 20 2018-10-09 Daniel Bates <dabates@apple.com> 2 21 -
trunk/Source/WebCore/platform/graphics/harfbuzz/ComplexTextControllerHarfBuzz.cpp
r233851 r236985 194 194 auto features = fontFeatures(m_font, fontPlatformData.orientation()); 195 195 HbUniquePtr<hb_buffer_t> buffer(hb_buffer_create()); 196 hb_buffer_set_unicode_funcs(buffer.get(), hb_icu_get_unicode_funcs());197 196 198 197 for (unsigned i = 0; i < runCount; ++i) {
Note:
See TracChangeset
for help on using the changeset viewer.