[Webkit-unassigned] [Bug 140081] Font::primaryFontData() should return a reference

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 5 09:37:35 PST 2015


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

Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #243978|review?                     |review+
              Flags|                            |

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

View in context: https://bugs.webkit.org/attachment.cgi?id=243978&action=review

A tiny bit sad that something used this often got a little longer, but I suppose it’s strange that a font has a function that returns “a font”.

> Source/WebCore/platform/graphics/FontGlyphs.h:77
> +    const FontData& primaryFontData(const FontDescription& description) { return *realizeFontDataAt(description, 0); }

Do we even need a function for this?

-- 
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/20150105/3c6bf261/attachment-0002.html>


More information about the webkit-unassigned mailing list