[Webkit-unassigned] [Bug 79826] [BlackBerry] Update the WebKit API to use std::string rather than char*

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 5 14:17:11 PST 2012


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





--- Comment #3 from Joe Mason <jmason at rim.com>  2012-03-05 14:17:11 PST ---
No - I agree that char* should be deprecated, but I think the API should use WebString in most places. (And in NetworkJob::notifyDataReceived and similar, it should use a buffer class that's a thin wrapper around char*, since the data is not actually a string.)  std::string will need to be converted to WTF::String eventually anyway, so we might as well do it on the platform side.  This will let us avoid char*->std::string->WTF::String conversions.

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