PlatformSensorAndProviderLinuxTest: Do not hold a raw MockSensorDeviceManager pointer.
There is no need to pass a std::unique_ptr to PlatformSensorProviderLinux and also hold the raw pointer in PlatformSensorAndProviderLinuxTest. Instead, just pass the std::unique_ptr and access it directly, as the test class is already a friend of PlatformSensorProviderLinux. R=reillyg Change-Id: I41624ccedb9dfd886f047d0ad9550c877966af3f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2218047 Auto-Submit: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> Commit-Queue: Reilly Grant <reillyg@chromium.org> Reviewed-by:Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#772278}
Showing
Please register or sign in to comment