| Index: content/browser/loader/temporary_file_stream_unittest.cc
|
| diff --git a/content/browser/loader/temporary_file_stream_unittest.cc b/content/browser/loader/temporary_file_stream_unittest.cc
|
| index 4db92d3111c78d6d92aff3936ba1bdb286fb83a8..939d0aae3e01f17ce9d5199aa983e555dd07eba6 100644
|
| --- a/content/browser/loader/temporary_file_stream_unittest.cc
|
| +++ b/content/browser/loader/temporary_file_stream_unittest.cc
|
| @@ -14,6 +14,7 @@
|
| #include "base/macros.h"
|
| #include "base/run_loop.h"
|
| #include "content/public/test/test_browser_thread_bundle.h"
|
| +#include "content/public/test/test_utils.h"
|
| #include "net/base/file_stream.h"
|
| #include "net/base/io_buffer.h"
|
| #include "net/base/net_errors.h"
|
| @@ -111,7 +112,7 @@ TEST(TemporaryFileStreamTest, Basic) {
|
|
|
| // Release everything. The file should be gone now.
|
| file_stream_waiter.Release();
|
| - base::RunLoop().RunUntilIdle();
|
| + content::RunAllBlockingPoolTasksUntilIdle();
|
|
|
| // The temporary should be gone now.
|
| EXPECT_FALSE(base::PathExists(file_path));
|
|
|