Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4105)

Unified Diff: chrome/browser/download/download_browsertest.cc

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/download/download_browsertest.cc
diff --git a/chrome/browser/download/download_browsertest.cc b/chrome/browser/download/download_browsertest.cc
index 239cbc3767c14890d117f8667813cc0e65c33437..18a0e113b3d9b2145f2f01018e1a987bdbf29d44 100644
--- a/chrome/browser/download/download_browsertest.cc
+++ b/chrome/browser/download/download_browsertest.cc
@@ -99,7 +99,7 @@ class DownloadsHistoryDataCollector {
download_db_handle_(download_db_handle) {
HistoryService* hs = HistoryServiceFactory::GetForProfile(
Profile::FromBrowserContext(manager->GetBrowserContext()),
- Profile::EXPLICIT_ACCESS);
+ Profile::EXPLICIT_ACCESS).get();
DCHECK(hs);
hs->QueryDownloads(
&callback_consumer_,
@@ -2271,7 +2271,7 @@ IN_PROC_BROWSER_TEST_F(DownloadTest, HiddenDownload) {
DownloadManagerForBrowser(browser());
scoped_ptr<content::DownloadTestObserver> observer(
new content::DownloadTestObserverTerminal(
- download_manager,
+ download_manager.get(),
1,
content::DownloadTestObserver::ON_DANGEROUS_DOWNLOAD_FAIL));
scoped_ptr<content::DownloadSaveInfo> save_info(
« no previous file with comments | « chrome/browser/custom_home_pages_table_model.cc ('k') | chrome/browser/extensions/api/browsing_data/browsing_data_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698