Use scoped_ptr for loaders map in ResourceDispatcherHostImpl
Mostly for cleanup, but this seems to have minor perf-win (5%-ish)
on a few frequently called per-request methods like
ResourceDispatcherHostImpl::RemovePendingRequest.
(With 1000+ data points on my relatively fast Mac, the method takes
72.77 us by average in the original code, while it takes
66.67 us by average with scoped_ptr version.)
BUG=556939
Review URL: https://codereview.chromium.org/1603503002
Cr-Commit-Position: refs/heads/master@{#370076}
2 files changed