Index: chrome/browser/chromeos/login/login_utils.cc |
diff --git a/chrome/browser/chromeos/login/login_utils.cc b/chrome/browser/chromeos/login/login_utils.cc |
index 0e3dd68463732f926f5cddb5f18f75e1b3296499..cef934200d24f7a8c809d725437e109b8ad1d71b 100644 |
--- a/chrome/browser/chromeos/login/login_utils.cc |
+++ b/chrome/browser/chromeos/login/login_utils.cc |
@@ -507,11 +507,10 @@ void LoginUtilsImpl::FinalizePrepareProfile(Profile* user_profile) { |
BootTimesLoader* btl = BootTimesLoader::Get(); |
// Own TPM device if, for any reason, it has not been done in EULA |
// wizard screen. |
- CryptohomeLibrary* cryptohome = CryptohomeLibrary::Get(); |
CryptohomeClient* client = DBusThreadManager::Get()->GetCryptohomeClient(); |
btl->AddLoginTimeMarker("TPMOwn-Start", false); |
- if (cryptohome->TpmIsEnabled() && !cryptohome->TpmIsBeingOwned()) { |
- if (cryptohome->TpmIsOwned()) { |
+ if (cryptohome_util::TpmIsEnabled() && !cryptohome_util::TpmIsBeingOwned()) { |
+ if (cryptohome_util::TpmIsOwned()) { |
client->CallTpmClearStoredPasswordAndBlock(); |
} else { |
client->TpmCanAttemptOwnership(EmptyVoidDBusMethodCallback()); |