| Index: components/proximity_auth/bluetooth_throttler_impl_unittest.cc
|
| diff --git a/components/proximity_auth/bluetooth_throttler_impl_unittest.cc b/components/proximity_auth/bluetooth_throttler_impl_unittest.cc
|
| index 5cfc4c9fc85799a4f9f788ea524d440ae287e274..cdd5515f8f5132c6140cb3563b29ff9adb7951d2 100644
|
| --- a/components/proximity_auth/bluetooth_throttler_impl_unittest.cc
|
| +++ b/components/proximity_auth/bluetooth_throttler_impl_unittest.cc
|
| @@ -34,12 +34,11 @@ class TestBluetoothThrottler : public BluetoothThrottlerImpl {
|
| class ProximityAuthBluetoothThrottlerImplTest : public testing::Test {
|
| public:
|
| ProximityAuthBluetoothThrottlerImplTest()
|
| - : clock_(new base::SimpleTestTickClock),
|
| - throttler_(make_scoped_ptr(clock_)) {
|
| - // The throttler treats null times as special, so start with a non-null
|
| - // time.
|
| - clock_->Advance(base::TimeDelta::FromSeconds(1));
|
| - }
|
| + // The throttler treats null times as special, so start with a non-null
|
| + // time.
|
| + : clock_(new base::SimpleTestTickClock(base::TimeTicks() +
|
| + base::TimeDelta::FromSeconds(1))),
|
| + throttler_(make_scoped_ptr(clock_)) {}
|
|
|
| void PerformConnectionStateTransition(Connection::Status old_status,
|
| Connection::Status new_status) {
|
|
|