Refactor Document::updateTitleElement to use traits instead of function pointers
Created attachment 320399 [details] Patch
Seems like too much attention for a small amount of code, but I could not resist. Antti, maybe this is even better than the last version?
Comment on attachment 320399 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=320399&action=review > Source/WebCore/dom/Document.cpp:1545 > +template<typename> struct TitleTraits; I feel using templates to implement two not-very-complicated cases is bit much but it is an improvement.
Comment on attachment 320399 [details] Patch Clearing flags on attachment: 320399 Committed r221838: <http://trac.webkit.org/changeset/221838>
All reviewed patches have been landed. Closing bug.
<rdar://problem/34693468>