Chromium Code Reviews
DescriptionString::contains should use StringView.
By happy accident the template overload of contains made the patch in
https://codereview.chromium.org/2225173002 remove all of the String
allocations for contains callers. Unfortunately it didn't fix
AtomicString which didn't use a template.
Lets make the API surface consistent across AtomicString and String
and fix all the string allocations for AtomicString::contains().
BUG=615174
Committed: https://crrev.com/95f6bad9ec8883e5596a3069ea3458c109a01ca5
Cr-Commit-Position: refs/heads/master@{#410590}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 14 (8 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||