Clean up base::RunLoop usage in PlatformSensorAndProviderLinuxTest.
There is no need to keep a class-wide |run_loop_| around if we use a lambda in CreateSensor() so that we can create, run and stop a base::RunLoop to process PlatformSensorProviderLinux::CreateSensor(). Change-Id: I629758c5ac24be66c4c74eb89c1120b015aefce1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1546293 Commit-Queue: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> Auto-Submit: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> Reviewed-by:Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#646520}
Showing
Please register or sign in to comment