diff options
Diffstat (limited to 'content/browser/download/download_file_unittest.cc')
-rw-r--r-- | content/browser/download/download_file_unittest.cc | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/content/browser/download/download_file_unittest.cc b/content/browser/download/download_file_unittest.cc index f92bb02e43..604baa4ea0 100644 --- a/content/browser/download/download_file_unittest.cc +++ b/content/browser/download/download_file_unittest.cc @@ -131,16 +131,15 @@ class DownloadFileTest : public testing::Test { scoped_ptr<DownloadSaveInfo> save_info(new DownloadSaveInfo()); download_file_.reset( - new DownloadFileImpl( - save_info.Pass(), - base::FilePath(), - GURL(), // Source - GURL(), // Referrer - calculate_hash, - scoped_ptr<ByteStreamReader>(input_stream_), - net::BoundNetLog(), - scoped_ptr<PowerSaveBlocker>(NULL).Pass(), - observer_factory_.GetWeakPtr())); + new DownloadFileImpl(save_info.Pass(), + base::FilePath(), + GURL(), // Source + GURL(), // Referrer + calculate_hash, + scoped_ptr<ByteStreamReader>(input_stream_), + net::BoundNetLog(), + scoped_ptr<PowerSaveBlocker>().Pass(), + observer_factory_.GetWeakPtr())); EXPECT_CALL(*input_stream_, Read(_, _)) .WillOnce(Return(ByteStreamReader::STREAM_EMPTY)) |