Index: chrome/browser/chromeos/login/fake_login_utils.cc |
diff --git a/chrome/browser/chromeos/login/fake_login_utils.cc b/chrome/browser/chromeos/login/fake_login_utils.cc |
index aa3c88942f087e31ddd6a5813125c62754a7cb67..4d36975ca993bf4251cab86f4030d618e397b170 100644 |
--- a/chrome/browser/chromeos/login/fake_login_utils.cc |
+++ b/chrome/browser/chromeos/login/fake_login_utils.cc |
@@ -120,7 +120,7 @@ bool FakeLoginUtils::RestartToApplyPerSessionFlagsIfNeed(Profile* profile, |
void FakeLoginUtils::SetExpectedCredentials(const UserContext& user_context) { |
expected_user_context_ = user_context; |
- if (authenticator_) { |
+ if (authenticator_.get()) { |
static_cast<MockAuthenticator*>(authenticator_.get())-> |
SetExpectedCredentials(user_context); |
} |