[Webkit-unassigned] [Bug 29516] [Gtk] WebResource - initialize NULL-valued strings as a String

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 21 22:25:48 PDT 2009


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


Xan Lopez <xan.lopez at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #39814|review?                     |review-
               Flag|                            |




--- Comment #2 from Xan Lopez <xan.lopez at gmail.com>  2009-09-21 22:25:48 PDT ---
(From update of attachment 39814)
String::fromUTF8 already does this:

String String::fromUTF8(const char* string)
{
    if (!string)
        return String();
    return UTF8Encoding().decode(string, strlen(string));
}

Marking as r-.

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