Index: chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc |
diff --git a/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc b/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc |
index be07ef67f8eaaa83f6c41cf750df556d15b8db65..7f03120c7117e491e86af228ddd6861b7ce7eb27 100644 |
--- a/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc |
+++ b/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc |
@@ -1497,7 +1497,7 @@ IN_PROC_BROWSER_TEST_F(SafeBrowsingServiceTest, StartAndStop) { |
// Add a new Profile. SBS should keep running. |
ASSERT_TRUE(temp_profile_dir_.CreateUniqueTempDir()); |
std::unique_ptr<Profile> profile2(Profile::CreateProfile( |
- temp_profile_dir_.path(), nullptr, Profile::CREATE_MODE_SYNCHRONOUS)); |
+ temp_profile_dir_.GetPath(), nullptr, Profile::CREATE_MODE_SYNCHRONOUS)); |
ASSERT_TRUE(profile2); |
StartupTaskRunnerServiceFactory::GetForProfile(profile2.get())-> |
StartDeferredTaskRunners(); |
@@ -1596,7 +1596,7 @@ IN_PROC_BROWSER_TEST_F(SafeBrowsingServiceShutdownTest, |
ProfileManager* profile_manager = g_browser_process->profile_manager(); |
ASSERT_TRUE(temp_profile_dir_.CreateUniqueTempDir()); |
profile_manager->CreateProfileAsync( |
- temp_profile_dir_.path(), |
+ temp_profile_dir_.GetPath(), |
base::Bind(&SafeBrowsingServiceShutdownTest::OnUnblockOnProfileCreation, |
base::Unretained(this)), |
base::string16(), std::string(), std::string()); |