Chromium Code Reviews
DescriptionRemove unnecessary calls to std::basic_string<>::c_str()
It's better not to pass a |const char*| to function which takes a
std::string or base::StringPiece object to avoid calling strlen()
and string copying.
BUG=679479
Review-Url: https://codereview.chromium.org/2781443005
Cr-Commit-Position: refs/heads/master@{#460201}
Committed: https://chromium.googlesource.com/chromium/src/+/020e2a0cb30f9e65d7e52c620a73e0806bcd7109
Patch Set 1 #
Messages
Total messages: 17 (9 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||