Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(727)

Unified Diff: chrome/browser/chromeos/login/online_attempt_unittest.cc

Issue 5844002: Reland 69237 - Fix raw_scoped_refptr_mismatch_checker.h." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/template_util.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « base/template_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698