Attention needed from Jeffrey Yu
Lambros Lambrou voted and added 2 comments![Open in Gerrit]()
Votes added by Lambros Lambrou
2 comments
File remoting/protocol/sdp_message.cc
Line 130, Patchset 4 (Latest): const std::string_view line = sdp_lines_[i];Lambros Lambrou .
resolvedI think `sdp_lines_` should be a vector of `std::string_view`, since it originally comes from splitting a string (SDP message) into lines. But that can be another CL 😊
Line 140, Patchset 4 (Latest): std::string payload_type = std::string(Lambros Lambrou .
unresolvedIs the extra `std::string()` needed here? Why not use:
```
std::string payload_type(line.substr...);
```
or keep the original code?
Open in GerritRelated details
Attention is currently required from:
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I7abb78f24a5bc06747979a5db0c89abe8a23d579
Gerrit-Change-Number: 7479527
Gerrit-PatchSet: 4
Gerrit-Comment-Date: Thu, 15 Jan 2026 18:59:16 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes