Eliminate duplicated code for culled line box in RenderInline
Created attachment 140417 [details] Patch
Can someone take a look at this please? I think it is a good refactor to have one single function to generate all the local rects of a RenderInline. There is one concern with this patch is the use of template and generator pattern, neither of them is used in WebKit. I use such seemingly over-complicated construct to make sure the compiled code will be as efficient as it was. If performance is not that much a concern I can make a simpler implementation that returns just a Vector<FloatRect>.
@Eric: Would you be willing to look at this patch?
Comment on attachment 140417 [details] Patch Are you around #webkit that we could discuss this?
(In reply to comment #4) > (From update of attachment 140417 [details]) > Are you around #webkit that we could discuss this? Sorry I'll need to go on an errand right now. I'll reach you tomorrow morning if it is convenient to you. Thanks!
Comment on attachment 140417 [details] Patch This is fantastic. Thank you!
Comment on attachment 140417 [details] Patch Rejecting attachment 140417 [details] from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 1 ERROR: /mnt/git/webkit-commit-queue/Source/WebCore/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive). Full output: http://queues.webkit.org/results/12671094
Created attachment 141266 [details] Patch
Nothing changed. Just rebase and add back "Reviewed by" line.
Created attachment 141271 [details] Patch for landing
Comment on attachment 141271 [details] Patch for landing Clearing flags on attachment: 141271 Committed r116718: <http://trac.webkit.org/changeset/116718>
All reviewed patches have been landed. Closing bug.