Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / profiles / profile_manager_browsertest.cc
index 7b41e23..38cdeb2 100644 (file)
@@ -35,7 +35,7 @@
 
 namespace {
 
-const profiles::ProfileSwitchingDoneCallback kOnProfileSwitchDoNothing;
+const ProfileManager::CreateCallback kOnProfileSwitchDoNothing;
 
 // An observer that returns back to test code after a new profile is
 // initialized.
@@ -421,7 +421,7 @@ IN_PROC_BROWSER_TEST_F(ProfileManagerBrowserTest, DeletePasswords) {
   scoped_refptr<password_manager::PasswordStore> password_store =
       PasswordStoreFactory::GetForProfile(profile, Profile::EXPLICIT_ACCESS)
           .get();
-  ASSERT_TRUE(password_store);
+  ASSERT_TRUE(password_store.get());
 
   password_store->AddLogin(form);
   PasswordStoreConsumerVerifier verify_add;