DescriptionRemove some non-essential StringPiece->std::string conversion in base/
StringValue already accepts StringPiece as constructor.
Get/SetWithoutPathExpansion readily takes StringPiece, so don't
covert StringPiece -> std::string then back to StringPiece for these.
Searching token can be done within StringPieces, without needing
to create temporary strings.
BUG=None
Test=None, internal change.
Committed: https://crrev.com/1cbc7b45b59471142424f8a64c0ef40daa8be0e5
Cr-Commit-Position: refs/heads/master@{#422620}
Patch Set 1 #Patch Set 2 : add one more #Patch Set 3 : git cl format #
Total comments: 2
Patch Set 4 : address comments #Messages
Total messages: 20 (14 generated)
|