Use base::MakeUnique() in more places in BatteryStatusManagerLinux.
Wrap the one remaining new call with make_scoped_refptr() to show it is ref-counted. Change-Id: I248f156c730fb83e9c6486b9f0ac6346d7115c22 Reviewed-on: https://chromium-review.googlesource.com/578574Reviewed-by:Tim Volodine <timvolodine@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#488418}
Showing
Please register or sign in to comment