diff options
Diffstat (limited to 'chrome/browser/download/download_ui_controller_unittest.cc')
-rw-r--r-- | chrome/browser/download/download_ui_controller_unittest.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/download/download_ui_controller_unittest.cc b/chrome/browser/download/download_ui_controller_unittest.cc index 8476717..d540ca8 100644 --- a/chrome/browser/download/download_ui_controller_unittest.cc +++ b/chrome/browser/download/download_ui_controller_unittest.cc @@ -175,9 +175,8 @@ void DownloadUIControllerTest::SetUp() { scoped_ptr<HistoryAdapter> history_adapter(new HistoryAdapter); history_adapter_ = history_adapter.get(); - scoped_ptr<DownloadHistory> download_history(new DownloadHistory( - manager_.get(), - history_adapter.PassAs<DownloadHistory::HistoryAdapter>())); + scoped_ptr<DownloadHistory> download_history( + new DownloadHistory(manager_.get(), history_adapter.Pass())); ASSERT_TRUE(download_history_manager_observer_); EXPECT_CALL(*manager_, AddObserver(_)) |