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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/incident_reporting_service_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/incident_reporting_service_unittest.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service_unittest.cc b/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service_unittest.cc
index 6435011e63a3ae5bb4043678d7d7d34d2b9337cd..9e469c177b65a220f908a55704245a5b376a443c 100644
--- a/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service_unittest.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service_unittest.cc
@@ -205,7 +205,7 @@ class IncidentReportingServiceTest : public testing::Test {
// Boom (or fizzle).
return profile_manager_.CreateTestingProfile(
profile_name,
- prefs.PassAs<PrefServiceSyncable>(),
+ prefs.Pass(),
base::ASCIIToUTF16(profile_name),
0, // avatar_id (unused)
std::string(), // supervised_user_id (unused)

Powered by Google App Engine
This is Rietveld 408576698