commit | e5a38eddbdf45d7563a00d019debd11b803af1bb | [log] [tgz] |
---|---|---|
author | Peter Kasting <[email protected]> | Sat Oct 02 03:06:35 2021 |
committer | Chromium LUCI CQ <[email protected]> | Sat Oct 02 03:06:35 2021 |
tree | f10a7dd1f95468190c5669ec0fd9206950cde49e | |
parent | 19314258752f322bfd35b35a7c0c37ea3e80f89f [diff] [blame] |
Migrate "base::TimeDelta::FromX" to "base:X". All changes were done automatically with git grep, sed, xargs, etc. No-Presubmit: true No-Try: true Bug: 1243777 Change-Id: I7cc197e9027f7837cd36afc67a209079f85ec364 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3198824 Commit-Queue: Peter Kasting <[email protected]> Owners-Override: Peter Kasting <[email protected]> Reviewed-by: Peter Boström <[email protected]> Cr-Commit-Position: refs/heads/main@{#927512}
diff --git a/base/sync_socket_win.cc b/base/sync_socket_win.cc index 4561a76..4634640 100644 --- a/base/sync_socket_win.cc +++ b/base/sync_socket_win.cc
@@ -136,8 +136,7 @@ TimeTicks current_time, finish_time; if (timeout_in_ms != INFINITE) { current_time = TimeTicks::Now(); - finish_time = - current_time + base::TimeDelta::FromMilliseconds(timeout_in_ms); + finish_time = current_time + base::Milliseconds(timeout_in_ms); } size_t count = 0;