Index: content/browser/download/download_item_impl_unittest.cc |
diff --git a/content/browser/download/download_item_impl_unittest.cc b/content/browser/download/download_item_impl_unittest.cc |
index d81d3d1a1e745d732a6ceca9607a1d4df4f6f8ba..5c52f4c91c2d83de8d2f4da8a3ccad5334f01d86 100644 |
--- a/content/browser/download/download_item_impl_unittest.cc |
+++ b/content/browser/download/download_item_impl_unittest.cc |
@@ -185,11 +185,11 @@ class DownloadItemTest : public testing::Test { |
info_->url_chain.push_back(GURL()); |
info_->state = state; |
- MockRequestHandle* request_handle = |
- new testing::NiceMock<MockRequestHandle>; |
+ scoped_ptr<DownloadRequestHandleInterface> request_handle( |
+ new testing::NiceMock<MockRequestHandle>); |
DownloadItem* download = |
new DownloadItemImpl(&delegate_, *(info_.get()), |
- request_handle, false, net::BoundNetLog()); |
+ request_handle.Pass(), false, net::BoundNetLog()); |
allocated_downloads_.insert(download); |
return download; |
} |