Index: chrome/browser/extensions/activity_log/counting_policy_unittest.cc |
diff --git a/chrome/browser/extensions/activity_log/counting_policy_unittest.cc b/chrome/browser/extensions/activity_log/counting_policy_unittest.cc |
index 0c8601fdeb8474782246aa6f3012f2e05b15bea5..e4b994988a5a465cfa09c4a243b7721798d20c08 100644 |
--- a/chrome/browser/extensions/activity_log/counting_policy_unittest.cc |
+++ b/chrome/browser/extensions/activity_log/counting_policy_unittest.cc |
@@ -74,7 +74,7 @@ class CountingPolicyTest : public testing::Test { |
// Wait for the task queue for the specified thread to empty. |
void WaitOnThread(const BrowserThread::ID& thread) { |
BrowserThread::PostTaskAndReply( |
- thread, FROM_HERE, base::Bind(&base::DoNothing), |
+ thread, FROM_HERE, base::BindOnce(&base::DoNothing), |
base::MessageLoop::current()->QuitWhenIdleClosure()); |
base::RunLoop().Run(); |
} |