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

Unified Diff: components/drive/change_list_loader.cc

Issue 1815363002: Add RetainedRef uses where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « components/bookmarks/browser/bookmark_storage.cc ('k') | components/drive/directory_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/drive/change_list_loader.cc
diff --git a/components/drive/change_list_loader.cc b/components/drive/change_list_loader.cc
index b7b5bd630998d271ccead94a4c3ad491ce8dfe07..6f5d22d529001c9e8e17cf4388687546b6f4e651 100644
--- a/components/drive/change_list_loader.cc
+++ b/components/drive/change_list_loader.cc
@@ -544,18 +544,15 @@ void ChangeListLoader::LoadChangeListFromServerAfterLoadChangeList(
loader_controller_->ScheduleRun(base::Bind(
base::IgnoreResult(
&base::PostTaskAndReplyWithResult<FileError, FileError>),
- blocking_task_runner_,
- FROM_HERE,
+ base::RetainedRef(blocking_task_runner_), FROM_HERE,
base::Bind(&ChangeListProcessor::Apply,
base::Unretained(change_list_processor),
- base::Passed(&about_resource),
- base::Passed(&change_lists),
+ base::Passed(&about_resource), base::Passed(&change_lists),
is_delta_update),
base::Bind(&ChangeListLoader::LoadChangeListFromServerAfterUpdate,
weak_ptr_factory_.GetWeakPtr(),
base::Owned(change_list_processor),
- should_notify_changed_directories,
- base::Time::Now())));
+ should_notify_changed_directories, base::Time::Now())));
}
void ChangeListLoader::LoadChangeListFromServerAfterUpdate(
« no previous file with comments | « components/bookmarks/browser/bookmark_storage.cc ('k') | components/drive/directory_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698