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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc

Issue 660873002: Use scoped_ptr::Pass instead of scoped_ptr::PassAs<T>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/safe_browsing/incident_reporting/last_download_finder_unittest.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc b/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc
index b2c7a6e91920e4f94c9cc39001a009c1ac805634..1f0584864f38d36c75dd0efbb1c3327ddf4ce77c 100644
--- a/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc
@@ -144,7 +144,7 @@ class LastDownloadFinderTest : public testing::Test {
TestingProfile* profile = profile_manager_->CreateTestingProfile(
profile_name,
- prefs.PassAs<PrefServiceSyncable>(),
+ prefs.Pass(),
base::UTF8ToUTF16(profile_name), // user_name
0, // avatar_id
std::string(), // supervised_user_id

Powered by Google App Engine
This is Rietveld 408576698