[ricea] PTAL. Had a little time to kill last Friday afternoon.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
lgtm, thanks!
base::Value::List list;While we are in the neighbourhood:
```suggestion
auto list = base::Value::List::with_capacity(sessions_.size());
```
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
While we are in the neighbourhood:
```suggestion
auto list = base::Value::List::with_capacity(sessions_.size());
```
Done, though I am skeptical it's worth the complexity to very slightly optimize something that likely only happens less than once every 1,000 executions of Chrome's binary. Yes, it's very small decrease in readability, but the gains here are also basically 0.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
1 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: net/spdy/spdy_session_pool.cc
Insertions: 1, Deletions: 1.
The diff is too large to show. Please review the diff.
```
Remove uses of std::unique_ptr<base::Value> for SPDY session state.
base::Value is preferred, to avoid the memory allocation overhead.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |