Skip to content
Commit 67c60366 authored by Tim Judkins's avatar Tim Judkins Committed by Chromium LUCI CQ
Browse files

[extensions] Update several tests to use MakeRefCounted instead of new

A lot of usage of ExtensionFunctions in tests create scoped_refpts using
bare new calls, but we prefer using MakeRefCounted in these cases.

This CL updates a collection of such tests to do so and normalizes the
type used to 'auto' where appropriate. No behavior change is expected.

Bug: 1384857
Change-Id: I94ecea6f97b48c1e20fc6a35a277c343eb69fc3d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4023972


Reviewed-by: default avatarDavid Bertoni <dbertoni@chromium.org>
Commit-Queue: Tim <tjudkins@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1072309}
parent fd9fb59e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment