PerfProvider: Replace uses of "new" with std::make_unique
Replace uses of new with std::make_unique or base::WrapUnique. See http://go/totw/126 for motivation. For scoped_refptr pointers use base::MakeRefCounted. BUG=b:116527691 TEST=Unit tests pass Change-Id: I42ffc6055b1d1d16dbc203e9b87d24b2295d0c76 Reviewed-on: https://chromium-review.googlesource.com/c/1340606 Commit-Queue: Gabriel Marin <gmx@chromium.org> Reviewed-by:Ilya Sherman <isherman@chromium.org> Cr-Commit-Position: refs/heads/master@{#609481}
Showing
Please register or sign in to comment