Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1877938 authored by hscham's avatar hscham Committed by Automerger Merge Worker
Browse files

floss: replae base::TimeDelta::FromX with base::X for >r931007 libchrome am: 30526255

parents ef8c1aab 30526255
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -4409,7 +4409,11 @@ static void btm_sec_wait_and_start_authentication(tBTM_SEC_DEV_REC* p_dev_rec) {
  auto addr = new RawAddress(p_dev_rec->bd_addr);
  bt_status_t status = do_in_main_thread_delayed(
      FROM_HERE, base::Bind(&btm_sec_auth_timer_timeout, addr),
#if BASE_VER < 931007
      base::TimeDelta::FromMilliseconds(BTM_DELAY_AUTH_MS));
#else
      base::Milliseconds(BTM_DELAY_AUTH_MS));
#endif
  if (status != BT_STATUS_SUCCESS) {
    LOG(ERROR) << __func__
               << ": do_in_main_thread_delayed failed. directly calling.";