| 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 410c823a3d0268786d59efcc2f76fc042faf1a6a..39b6d5b5951ac7f5fd644ecadfabcd592fa42eda 100644
|
| --- a/chrome/browser/extensions/activity_log/counting_policy_unittest.cc
|
| +++ b/chrome/browser/extensions/activity_log/counting_policy_unittest.cc
|
| @@ -75,7 +75,7 @@ class CountingPolicyTest : public testing::Test {
|
| BrowserThread::PostTaskAndReply(
|
| thread, FROM_HERE, base::Bind(&base::DoNothing),
|
| base::MessageLoop::current()->QuitWhenIdleClosure());
|
| - base::MessageLoop::current()->Run();
|
| + base::RunLoop().Run();
|
| }
|
|
|
| // A wrapper function for CheckReadFilteredData, so that we don't need to
|
| @@ -118,7 +118,7 @@ class CountingPolicyTest : public testing::Test {
|
|
|
| // Wait for results; either the checker or the timeout callbacks should
|
| // cause the main loop to exit.
|
| - base::MessageLoop::current()->Run();
|
| + base::RunLoop().Run();
|
|
|
| timeout.Cancel();
|
| }
|
|
|