Stop using std::unique_ptr for PlatformSensorAndProviderLinuxTest::disallow_blocking_
This fixes a TODO item I added for myself back in commit dd9b04ee ("sensors: Remove bogus DCHECK from SensorReader::Create()"). Commit 9d8348e5 ("sensors: Clean up sequence, task and thread handling in the Linux implementation") got rid of PlatformSensorProviderLinux's polling thread altogether, so we can finally make |disallow_blocking_| a regular member variable that is used for the entirety of PlatformSensorAndProviderLinuxTest's lifetime. Change-Id: Ic78bc2d4d2ad64ea4be7a2e2cf39315a87d96e9d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1546102 Commit-Queue: Reilly Grant <reillyg@chromium.org> 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@{#646403}
Showing
Please register or sign in to comment