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

Unified Diff: base/debug/activity_tracker.cc

Issue 2791243002: Rewrite base::Bind into base::BindOnce on trivial cases in base (Closed)
Patch Set: rebase Created 3 years, 8 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 | « no previous file | base/debug/activity_tracker_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/activity_tracker.cc
diff --git a/base/debug/activity_tracker.cc b/base/debug/activity_tracker.cc
index 5081c1c9d20b0da899481b81d9b0c347afe5cb96..f25ac97d39b66ec91303731ad3786f85e0fb6d6f 100644
--- a/base/debug/activity_tracker.cc
+++ b/base/debug/activity_tracker.cc
@@ -1463,8 +1463,8 @@ void GlobalActivityTracker::RecordProcessExit(ProcessId process_id,
if (task_runner && !task_runner->RunsTasksOnCurrentThread()) {
task_runner->PostTask(
FROM_HERE,
- Bind(&GlobalActivityTracker::CleanupAfterProcess, Unretained(this), pid,
- now_stamp, exit_code, Passed(&command_line)));
+ BindOnce(&GlobalActivityTracker::CleanupAfterProcess, Unretained(this),
+ pid, now_stamp, exit_code, Passed(&command_line)));
return;
}
« no previous file with comments | « no previous file | base/debug/activity_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698