Skip to content

Commit

Permalink
Use BindOnce instead of Bind
Browse files Browse the repository at this point in the history
In order to be more explicit use BindOnce instead of Bind.

Bug: 1007640
Change-Id: Ifd0e754b189da878c76832b62efab23e1895d4c3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1864097
Reviewed-by: Finnur Thorarinsson <finnur@chromium.org>
Commit-Queue: James Hollyer <jameshollyer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#716346}
  • Loading branch information
James Hollyer authored and Commit Bot committed Nov 18, 2019
1 parent 692493f commit 54f2922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chrome/notification_helper/run_all_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ int main(int argc, char** argv) {
// with each other if they run in parallel. Therefore, run the tests serially.
return base::LaunchUnitTestsSerially(
argc, argv,
base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite)));
base::BindOnce(&base::TestSuite::Run, base::Unretained(&test_suite)));
}

0 comments on commit 54f2922

Please sign in to comment.