Summary: | [BlackBerry] Update the WebKit API to use std::string rather than char* | ||
---|---|---|---|
Product: | WebKit | Reporter: | Konrad Piascik <kpiascik> |
Component: | WebKit BlackBerry | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | efidler, joenotcharles, manyoso, mstaikos, staikos, tonikitoo, yong.li.webkit |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 79818, 79829, 79830 | ||
Bug Blocks: |
Description
Konrad Piascik
2012-02-28 13:15:34 PST
@all, do you have a agreement? (In reply to comment #1) > @all, do you have a agreement? err! @all: do we have an agreement? 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. No we won't |