RESOLVED FIXED 100579
WKStringCopyCFString() should directly use 8 bit Strings data instead of up converting
https://bugs.webkit.org/show_bug.cgi?id=100579
Summary WKStringCopyCFString() should directly use 8 bit Strings data instead of up c...
Michael Saboff
Reported 2012-10-26 16:47:13 PDT
WKStringCopyCFString(CFAllocatorRef, WKStringRef) calls CFStringCreateWithCharacters() using the result of characters() on the argument string. Instead it should check to see if the string is 8 or 16 bits and then use characters8() with CFStringCreateWithBytes() and characters16() in place of the current characters().
Attachments
Patch (1.83 KB, patch)
2012-10-26 17:39 PDT, Michael Saboff
oliver: review+
webkit.review.bot: commit-queue-
Michael Saboff
Comment 1 2012-10-26 17:39:13 PDT
WebKit Review Bot
Comment 2 2012-10-27 11:19:09 PDT
Comment on attachment 171062 [details] Patch Rejecting attachment 171062 [details] from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 Last 500 characters of output: Auto-merging Source/WebKit2/ChangeLog CONFLICT (content): Merge conflict in Source/WebKit2/ChangeLog Failed to merge in the changes. Patch failed at 0001 Unreviewed gardening. When you have resolved this problem run "git rebase --continue". If you would prefer to skip this patch, instead run "git rebase --skip". To restore the original branch and stop rebasing run "git rebase --abort". rebase refs/remotes/origin/master: command returned error: 1 Died at Tools/Scripts/update-webkit line 154. Full output: http://queues.webkit.org/results/14605667
Michael Saboff
Comment 3 2012-10-29 11:05:50 PDT
Note You need to log in before you can comment on or make changes to this bug.