Fix some minor bad use of strings in WebCore
Created attachment 198950 [details]
Comment on attachment 198950 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=198950&action=review
> + (WebCore::Editor::selectedText): This was implictely getting the emptyString().
Typo or spelling error: should be "implicitly".
But also, I don’t understand what you mean. Do you mean that 0 was turning into the null string?
> But also, I don’t understand what you mean. Do you mean that 0 was turning into the null string?
Would turn into this (there is no replace for char*):
And the constructor of String return the empty string if the length is 0 :(
Committed r148854: <http://trac.webkit.org/changeset/148854>