[Webkit-unassigned] [Bug 18987] [GTK] Implement SharedBuffer::createWithContentsOfFile and KURL::fileSystemPath

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 12 05:23:33 PDT 2008


------- Comment #3 from marco.barisione at collabora.co.uk  2008-05-12 05:23 PDT -------
(In reply to comment #2)
> The userstyle path is local by definition, why didn't you use
> g_file_get_contents?

g_file_get_contents() allocates a new buffer that then must be copied in ther
SharedBuffer. Maybe this is not a problem for a css file but this function is
generic so I wanted to avoid a useless memory allocation.

Configure bugmail: http://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