DescriptionUse emplace_back when adding an item to WebSocket stalled requests
This is a tiny readability improvement, and removes an old TODO.
By using emplace_back() when adding an item to stalled_request_queue_ in
net::WebSocketTransportClientSocketPool we remove an unnecessary local variable
declaration. There's probably a minor performance improvement too.
BUG=
Review-Url: https://codereview.chromium.org/2847073002
Cr-Commit-Position: refs/heads/master@{#473521}
Committed: https://chromium.googlesource.com/chromium/src/+/00bd27b320be81e0cb51d5c9a017d97449c5a5fa
Patch Set 1 #
Messages
Total messages: 16 (10 generated)
|