Index: chrome/browser/chromeos/login/online_attempt_unittest.cc |
diff --git a/chrome/browser/chromeos/login/online_attempt_unittest.cc b/chrome/browser/chromeos/login/online_attempt_unittest.cc |
index 5ab89c2906ef7e84dc4e2aca7d3194c1d7e6ee23..9e03a057813cbb232a5a284a62aa682f663345dc 100644 |
--- a/chrome/browser/chromeos/login/online_attempt_unittest.cc |
+++ b/chrome/browser/chromeos/login/online_attempt_unittest.cc |
@@ -137,7 +137,7 @@ TEST_F(OnlineAttemptTest, LoginCancelRetry) { |
BrowserThread::PostTask( |
BrowserThread::IO, FROM_HERE, |
NewRunnableFunction(&OnlineAttemptTest::RunThreadTest, |
- attempt_.get(), &profile)); |
+ attempt_, &profile)); |
MessageLoop::current()->Run(); |
@@ -164,7 +164,7 @@ TEST_F(OnlineAttemptTest, LoginTimeout) { |
BrowserThread::PostTask( |
BrowserThread::IO, FROM_HERE, |
NewRunnableFunction(&OnlineAttemptTest::RunThreadTest, |
- attempt_.get(), &profile)); |
+ attempt_, &profile)); |
// Post a task to cancel the login attempt. |
CancelLogin(attempt_.get()); |
@@ -195,7 +195,7 @@ TEST_F(OnlineAttemptTest, HostedLoginRejected) { |
BrowserThread::PostTask( |
BrowserThread::IO, FROM_HERE, |
NewRunnableFunction(&OnlineAttemptTest::RunThreadTest, |
- attempt_.get(), &profile)); |
+ attempt_, &profile)); |
MessageLoop::current()->Run(); |
@@ -221,7 +221,7 @@ TEST_F(OnlineAttemptTest, FullLogin) { |
BrowserThread::PostTask( |
BrowserThread::IO, FROM_HERE, |
NewRunnableFunction(&OnlineAttemptTest::RunThreadTest, |
- attempt_.get(), &profile)); |
+ attempt_, &profile)); |
MessageLoop::current()->Run(); |