[Webkit-unassigned] [Bug 103175] Make renderer construction less generic

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Nov 24 10:00:41 PST 2012


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





--- Comment #6 from Antti Koivisto <koivisto at iki.fi>  2012-11-24 10:02:47 PST ---
(In reply to comment #5)
> I cringe a little at the code duplication between createRendererForElementIfNeeded and createRendererForTextIfNeeded. I think you could get rid of much of it by adding a couple static helper functions?

I tried some helper functions but they didn't seem particularly helpful in the end. I think this can be simplified more by taking the refactoring bit further. This is not meant to be the end state.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list