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

Unified Diff: chrome/browser/profiles/startup_task_runner_service.cc

Issue 16296002: Update chrome/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 7 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/profiles/profile_manager_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/startup_task_runner_service.cc
diff --git a/chrome/browser/profiles/startup_task_runner_service.cc b/chrome/browser/profiles/startup_task_runner_service.cc
index 60407e183693472a515d346a63e3639552f13cfa..d28bdd737beae6916d1e49d2cb91cefaf5166225 100644
--- a/chrome/browser/profiles/startup_task_runner_service.cc
+++ b/chrome/browser/profiles/startup_task_runner_service.cc
@@ -18,7 +18,7 @@ StartupTaskRunnerService::~StartupTaskRunnerService() {
scoped_refptr<base::DeferredSequencedTaskRunner>
StartupTaskRunnerService::GetBookmarkTaskRunner() {
DCHECK(CalledOnValidThread());
- if (!bookmark_task_runner_) {
+ if (!bookmark_task_runner_.get()) {
bookmark_task_runner_ =
new base::DeferredSequencedTaskRunner(profile_->GetIOTaskRunner());
}
« no previous file with comments | « chrome/browser/profiles/profile_manager_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698