| Index: net/base/file_stream_unittest.cc
|
| diff --git a/net/base/file_stream_unittest.cc b/net/base/file_stream_unittest.cc
|
| index d1985a8ace5b3d9735156cafb94c4229ee214149..b83cc18dd903772eebefe19116c4ec4ad1fc5f73 100644
|
| --- a/net/base/file_stream_unittest.cc
|
| +++ b/net/base/file_stream_unittest.cc
|
| @@ -557,7 +557,7 @@ class TestWriteReadCompletionCallback {
|
| result_ = *total_bytes_written_;
|
| have_result_ = true;
|
| if (waiting_for_result_)
|
| - base::MessageLoop::current()->Quit();
|
| + base::MessageLoop::current()->QuitWhenIdle();
|
| }
|
|
|
| int result_;
|
| @@ -665,7 +665,7 @@ class TestWriteCloseCompletionCallback {
|
| result_ = *total_bytes_written_;
|
| have_result_ = true;
|
| if (waiting_for_result_)
|
| - base::MessageLoop::current()->Quit();
|
| + base::MessageLoop::current()->QuitWhenIdle();
|
| }
|
|
|
| int result_;
|
|
|