DescriptionRemove String::adopt(Vector<UChar>)
Adopting a Vector<UChar> isn't an efficient way to build a string. There are
only two callers, so we should remove this API before we grow more. I've moved
the callers over to StringBuilder and StringBuffer. There was one caller in
EventSource that I moved to copying the characters rather than adopting them.
R=eseidel
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155225
Patch Set 1 #Patch Set 2 : Remove them all #Patch Set 3 : Fix win #Patch Set 4 : Fix typo #
Messages
Total messages: 11 (0 generated)
|