[Webkit-unassigned] [Bug 121899] Optimize strings copies in srcset parser

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 27 14:36:32 PDT 2013


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





--- Comment #9 from Benjamin Poulain <benjamin at webkit.org>  2013-09-27 14:35:31 PST ---
(In reply to comment #7)
> > srcsetAttribute will stay alive anyway
> 
> What guaranteed this? E.g., can we have a dangling pointer for a while between changing the attribute via DOM and a style recalc?

Even if you were to unref srcsetAttribute, substringSharingImpl ref() the original string, you will not get a dangling pointer.

-- 
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