Index: net/base/file_stream_unittest.cc |
diff --git a/net/base/file_stream_unittest.cc b/net/base/file_stream_unittest.cc |
index 7cda76d3247e50859b51be0ce1c31f3e1c82d46c..10427846c37c0931ba04f0835fafca53ea402957 100644 |
--- a/net/base/file_stream_unittest.cc |
+++ b/net/base/file_stream_unittest.cc |
@@ -44,9 +44,7 @@ class NetLogForNotifyingFileClosure : public NetLog { |
// Wait until a file closure event is recorded. |
bool WaitForClosure() { |
- const base::TimeDelta timeout( |
- base::TimeDelta::FromMilliseconds( |
- TestTimeouts::action_max_timeout_ms())); |
+ const base::TimeDelta timeout(TestTimeouts::action_max_timeout()); |
return on_closure_.TimedWait(timeout); |
} |