I'd like add a base class of HarfBuzz text shaper to share the code between old HarfBuzz and HarfBuzz-ng, to address Evan's comment on https://bugs.webkit.org/show_bug.cgi?id=69826#c18.
Created attachment 128414 [details] Patch
Hi Evan, Could you please review the patch?
Looks great, thanks for refactoring!
Comment on attachment 128414 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=128414&action=review > Source/WebCore/WebCore.gypi:3472 > + 'platform/graphics/harfbuzz/HarfBuzzShaperBase.cpp', > + 'platform/graphics/harfbuzz/HarfBuzzShaperBase.h', Can you also include the cpp file in PlatformBlackBerry.cmake? > Source/WebCore/platform/graphics/harfbuzz/ComplexTextControllerHarfBuzz.cpp:303 > + if (static_cast<unsigned>(logClustersIndex) < m_item.item.length && isWordEnd(m_item.item.pos + logClustersIndex)) Should logClustersIndex be unsigned or size_t? That might remove some of the casts.
Created attachment 128584 [details] Patch for landing
Comment on attachment 128414 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=128414&action=review Thank you for review Evan and Tony! >> Source/WebCore/WebCore.gypi:3472 >> + 'platform/graphics/harfbuzz/HarfBuzzShaperBase.h', > > Can you also include the cpp file in PlatformBlackBerry.cmake? Done. >> Source/WebCore/platform/graphics/harfbuzz/ComplexTextControllerHarfBuzz.cpp:303 >> + if (static_cast<unsigned>(logClustersIndex) < m_item.item.length && isWordEnd(m_item.item.pos + logClustersIndex)) > > Should logClustersIndex be unsigned or size_t? That might remove some of the casts. Done.
Comment on attachment 128584 [details] Patch for landing Clearing flags on attachment: 128584 Committed r108733: <http://trac.webkit.org/changeset/108733>
All reviewed patches have been landed. Closing bug.