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

Unified Diff: chrome/browser/sync/profile_sync_service_typed_url_unittest.cc

Issue 504273003: Remove implicit conversions from scoped_refptr to T* in chrome/browser/sync/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Propagate Created 6 years, 4 months 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 | « chrome/browser/sync/profile_sync_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc b/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
index 79eeb4e18abf28a90b5574cb1319dfede7bb6cc6..2786c34413c9608ab294034996a1bc239924e12a 100644
--- a/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
@@ -133,7 +133,7 @@ class HistoryServiceMock : public HistoryService {
void set_task_runner(
scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
- DCHECK(task_runner);
+ DCHECK(task_runner.get());
task_runner_ = task_runner;
}
@@ -145,7 +145,7 @@ class HistoryServiceMock : public HistoryService {
virtual ~HistoryServiceMock() {}
void RunTaskOnDBThread(history::HistoryDBTask* task) {
- EXPECT_TRUE(task->RunOnDBThread(backend_, NULL));
+ EXPECT_TRUE(task->RunOnDBThread(backend_.get(), NULL));
}
scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
« no previous file with comments | « chrome/browser/sync/profile_sync_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698