[Webkit-unassigned] [Bug 219177] zero boundingRect pointer in Font::platformBoundsForGlyph() to CTFontGetBoundingRectsForGlyphs()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 19 15:36:25 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=219177

--- Comment #2 from Darin Adler <darin at apple.com> ---
Comment on attachment 414618
  --> https://bugs.webkit.org/attachment.cgi?id=414618
Patch

Good to have the code match what the change log says. And it was my comment that led to this change.

But why does this need to be a zero rect rather than uninitialized? And why can’t we pass nullptr instead?

A little confused about that.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201119/7c8490ba/attachment.htm>


More information about the webkit-unassigned mailing list