[Webkit-unassigned] [Bug 26561] Remove memcpy from ScriptSourceCode::source()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 19 18:12:13 PDT 2009


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





------- Comment #3 from darin at apple.com  2009-06-19 18:12 PDT -------
(From update of attachment 31574)
> +    // This same string is actually buried in m_code, but there isn't a clean
> +    // want to write an accessor for it, so we cache a refernce to it.
> +    String m_source;

"clean want"? How about "clean way"?

But I do think there is a clean way to get at it. Just add a source() member to
StringSourceProvider, then call
static_cast<StringSourceProvider*>(m_code->provider())->source().


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



More information about the webkit-unassigned mailing list