| Index: chrome_frame/test/test_server.cc
|
| diff --git a/chrome_frame/test/test_server.cc b/chrome_frame/test/test_server.cc
|
| index db5be8d891de50e45f6c97f5fe26340af0467af6..ea4923ee0b0cef3641dfe4e5a81a71d52886e610 100644
|
| --- a/chrome_frame/test/test_server.cc
|
| +++ b/chrome_frame/test/test_server.cc
|
| @@ -338,7 +338,7 @@ void ConfigurableConnection::SendChunk() {
|
| if (cur_pos_ < size) {
|
| MessageLoop::current()->PostDelayedTask(
|
| FROM_HERE, base::Bind(&ConfigurableConnection::SendChunk, this),
|
| - options_.timeout_);
|
| + base::TimeDelta::FromMilliseconds(options_.timeout_));
|
| } else {
|
| socket_ = 0; // close the connection.
|
| }
|
| @@ -394,7 +394,7 @@ void ConfigurableConnection::SendWithOptions(const std::string& headers,
|
|
|
| MessageLoop::current()->PostDelayedTask(
|
| FROM_HERE, base::Bind(&ConfigurableConnection::SendChunk, this),
|
| - options.timeout_);
|
| + base::TimeDelta::FromMilliseconds(options.timeout_));
|
| }
|
|
|
| } // namespace test_server
|
|
|