Clean up interface to Font::expansionOpportunityCount()
Created attachment 239132 [details] Patch
This needs to be rebaselined.
**** The code needs to be rebased
Created attachment 239231 [details] Patch
Comment on attachment 239231 [details] Patch Clearing flags on attachment: 239231 Committed r174297: <http://trac.webkit.org/changeset/174297>
All reviewed patches have been landed. Closing bug.
Comment on attachment 239231 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=239231&action=review > Source/WebCore/rendering/RenderText.cpp:1533 > +StringView RenderText::stringView(int start, int stop) const > +{ > + if (is8Bit()) > + return StringView(characters8() + start, stop - start); > + return StringView(characters16() + start, stop - start); > +} This function either needs assertions about start and stop being reasonable values, or code to clamp start and stop to make them reasonable values.
Comment on attachment 239231 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=239231&action=review >> Source/WebCore/rendering/RenderText.cpp:1533 >> +} > > This function either needs assertions about start and stop being reasonable values, or code to clamp start and stop to make them reasonable values. Addressed in r174373.