Bug 57989 - Add WKStringGetCharactersPtr() and WKStringGetLength() to WebKit2 C API
Summary: Add WKStringGetCharactersPtr() and WKStringGetLength() to WebKit2 C API
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: All OS X 10.5
: P2 Normal
Assignee: Jeff Miller
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-06 15:14 PDT by Jeff Miller
Modified: 2011-04-06 15:24 PDT (History)
0 users

See Also:


Attachments
Patch (3.38 KB, patch)
2011-04-06 15:18 PDT, Jeff Miller
aroben: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Miller 2011-04-06 15:14:20 PDT
Add WKStringGetCharactersPtr() and WKStringGetLength() to WebKit2 C API
Comment 1 Jeff Miller 2011-04-06 15:18:41 PDT
Created attachment 88526 [details]
Patch
Comment 2 Adam Roben (:aroben) 2011-04-06 15:20:30 PDT
Comment on attachment 88526 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=88526&action=review

> Source/WebKit2/Shared/WebString.h:61
> +    const size_t length() const { return m_string.length(); }

No need for the leading "const".
Comment 3 Jeff Miller 2011-04-06 15:24:39 PDT
Committed r83110: <http://trac.webkit.org/changeset/83110>